[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] org-mode and htmlslidy
From: |
Sebastian Rose |
Subject: |
Re: [Orgmode] org-mode and htmlslidy |
Date: |
Fri, 12 Nov 2010 13:50:59 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
Dov Grobgeld <address@hidden> writes:
> I tried warping s5-org this morning into slidy-org and I finally got it to
> work with one small remaining problem. In the resulting HTML I have:
>
> <div id="outline-container-2" class="outline-2">
>
> which I want to change to:
>
> <div id="outline-container-2" class="class">
>
> What is the best way of changing that? I saw that s5-org is using some
> jquery rewrites of the xml tree. Is that the best way of solving it? Is
> there a possibility of doing this change directly in org-mode without
> javascript?
>
> Thanks!
> Dov
The jQuery way:
#+STYLE: <script type="text/javascript">
#+STYLE: $(document).ready(function(){
#+STYLE: $(div.outline-2).each(function(){
#+STYLE: this.addClass("MY-CLASS");
#+STYLE: this.removeClass("outline-2");})});
#+STYLE: </script>
http://api.jquery.com/browser/ is your friend ;)
HTH,
Sebastian
- Re: [Orgmode] org-mode and htmlslidy, (continued)
- Re: [Orgmode] org-mode and htmlslidy, John Hendy, 2010/11/11
- Re: [Orgmode] org-mode and htmlslidy, Eric S Fraga, 2010/11/11
- Re: [Orgmode] org-mode and htmlslidy, Jeff Horn, 2010/11/11
- Re: [Orgmode] org-mode and htmlslidy, Dov Grobgeld, 2010/11/11
- Re: [Orgmode] org-mode and htmlslidy, Jeff Horn, 2010/11/11
- Re: [Orgmode] org-mode and htmlslidy, Dov Grobgeld, 2010/11/12
- Re: [Orgmode] org-mode and htmlslidy,
Sebastian Rose <=
Re: [Orgmode] org-mode and htmlslidy, Peter Frings, 2010/11/16