>
> And you've got this 10 times? IDs must be unique in a document.
> Validate. Validate. Validate.
>
> --
> David Dorwardhttp://dorward.me.uk/http://blog.dorward.me.uk/
Thanks for the link, but I don't think you understand what I am trying
to do, or at least understand that I know it doesn't work. What I'm
looking for is something that does work within the index loop of
wordpress when you have multiple posts on one page. I'm not going to
recode it every time I post something new.
Re: Wordpress Javascript Index Loop
am 06.09.2007 14:12:30 von ovation
On Sep 6, 4:08 am, ovation wrote:
> I want to use javascript to display the categories that the post is
> filed under when a icon/image is clicked. The list of categories
> should expand at the bottom of the post under the icon(s).
>
> This works great on the single post page, but the index (main) page
> lists 10 posts, and it will only work on the first post. No matter
> what post icon is clicked the first post expands. I think I
> understand the logic behind this, but is there any way around it?
>
> Here is the code:
>
> `
> title="Filed Under">
>
>
>
`
Thanks to "Kjell Bublitz" I have a solution. Here it is if anyone
needs it:
Thanks to everyone.
Re: Wordpress Javascript Index Loop
am 06.09.2007 15:59:29 von lws4art
ovation wrote:
> On Sep 6, 4:08 am, ovation wrote:
>> I want to use javascript to display the categories that the post is
>> filed under when a icon/image is clicked. The list of categories
>> should expand at the bottom of the post under the icon(s).
>>
>> This works great on the single post page, but the index (main) page
>> lists 10 posts, and it will only work on the first post. No matter
>> what post icon is clicked the first post expands. I think I
>> understand the logic behind this, but is there any way around it?
>>
>> Here is the code:
>>
>> `
>> title="Filed Under">
>>
>>
>>
`
>
>
> Thanks to "Kjell Bublitz" I have a solution. Here it is if anyone
> needs it:
Who is "Kjell Bublitz"? Did you multi-post? Tsk-tsk. GG strikes again.
>
>
>
>
>
>
> Thanks to everyone.
>
Funny that "solution" exactly addresses the problem David Dorward
pointed out to you. David: "And you've got this 10 times? IDs must be
unique in a document."
Apparently you either ignored our did not understand the folly of
href="javascript:... the JavaScript pseudo-protocol. Reread his link
http://www.jibbering.com/faq/#FAQ4_24
and for the matter for more info:
http://www.google.com/search?hl=en&q=javascript+pseudo+proto col+bad+design&btnG=Search
javascript pseudo protocol bad design - Google Search
--
Take care,
Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
Re: Wordpress Javascript Index Loop
am 07.09.2007 02:38:54 von ovation
On Sep 6, 8:59 am, "Jonathan N. Little" wrote:
> ovation wrote:
> > On Sep 6, 4:08 am, ovation wrote:
> >> I want to use javascript to display the categories that the post is
> >> filed under when a icon/image is clicked. The list of categories
> >> should expand at the bottom of the post under the icon(s).
>
> >> This works great on the single post page, but the index (main) page
> >> lists 10 posts, and it will only work on the first post. No matter
> >> what post icon is clicked the first post expands. I think I
> >> understand the logic behind this, but is there any way around it?
>
> >> Here is the code:
>
> >> `
> >> title="Filed Under">
>
> >>
> >>
`
>
> > Thanks to "Kjell Bublitz" I have a solution. Here it is if anyone
> > needs it:
>
> Who is "Kjell Bublitz"? Did you multi-post? Tsk-tsk. GG strikes again.
>
>
>
> >
>
> >
> >
>
> > Thanks to everyone.
>
> Funny that "solution" exactly addresses the problem David Dorward
> pointed out to you. David: "And you've got this 10 times? IDs must be
> unique in a document."
>
> Apparently you either ignored our did not understand the folly of
> href="javascript:... the JavaScript pseudo-protocol. Reread his link
>
> http://www.jibbering.com/faq/#FAQ4_24
>
> and for the matter for more info:
>
> http://www.google.com/search?hl=en&q=javascript+pseudo+proto col+bad+d...
> javascript pseudo protocol bad design - Google Search
>
> --
> Take care,
>
> Jonathan
> -------------------
> LITTLE WORKS STUDIOhttp://www.LittleWorksStudio.com
Do you really want to know what to do with your links? You people
really become assholes when you can't answer a question. I KNEW WHY IT
WASN'T WORKING! What I was asking for was a solution, but I guess
that was over your head.
Re: Wordpress Javascript Index Loop
am 07.09.2007 02:45:48 von John Hosking
ovation wrote:
[discussion snipped]
> Do you really want to know what to do with your links? You people
> really become assholes when you can't answer a question. I KNEW WHY IT
> WASN'T WORKING! What I was asking for was a solution, but I guess
> that was over your head.
Yes, you're *much* smarter than the people who took the time to try to
help you.
--
John
Once again seeing the value of the UIP: http://improve-usenet.org/
Re: Wordpress Javascript Index Loop
am 07.09.2007 05:33:56 von lws4art
ovation wrote:
> Do you really want to know what to do with your links? You people
> really become assholes when you can't answer a question. I KNEW WHY IT
> WASN'T WORKING! What I was asking for was a solution, but I guess
> that was over your head.
>
You knew your problem was duplicate IDs but could not see a way to
remedy it? Priceless.
Well I know enough about the pitfalls to *not* use the pseudo protocol
"javascript:"
--
Take care,
Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com