FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » which command to use
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: which command to use [message #177283 is a reply to message #177280] Sat, 03 March 2012 16:39 Go to previous messageGo to previous message
richard is currently offline  richard   
Messages: 213
Registered: June 2013
Karma:
Senior Member
On Sat, 3 Mar 2012 14:56:54 +0000 (UTC), Beauregard T. Shagnasty wrote:

> richard the sto0pid wrote:
>
>> I have a page with nested <ul>'s.
>> I want the script to tell me how many there are. so what command or
>> function would I use?
>
> Naturally, you want to know how many <ul> there are in the generated
> HTML, of course. That would be the "page." <ul> in a script can/could be
> generated within a loop, with just one <ul> actually existing in the
> script. (something else from dynamicdrive, I'll wager)
>
> Drop your HTML output into any competent text editor and use the Find
> function, usually Control-F. Sometimes, even the browser can tell you!!

I'm not looking to see how many ul's are on a page for a personal
referencce. But rather, as a need for the rest of the script to know how
many items must be in an array.
As the basis for building a tree style menu.

While you may consider dynamicdrive a joke, at least they help.
I had a question about a script and they answered with the proper answer
without any bullshit like you give.

www.1littleworld.net/sample

All done with script provided by dynamicdrive and the lightbox script was
from elsewhere. With a modification made by a guy so that the script would
work as I wanted.

Before you go mouthing off about the errors, those are in the javascript,
not the html.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: multiple dynamic text fields
Next Topic: combobox
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Dec 01 02:13:44 GMT 2024

Total time taken to generate the page: 0.03920 seconds