Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
January 18, 2007, 2:24 pm
rate this thread
Re: how is this done?? (select obj cool effect..)
which will display just the list you are interested in (the main page
embeds it in an iframe).
View the source. Search for 'baselist' which is the id of a select
adds an end-option tag, closes the select list, and closes the div.
This creates a totally empty select list.
Next in the source you will see another script called (<script
If you overlap-splice the src= value to the URL you are looking at, you
with Firefox 2...]
Scroll to the bottom, past all of the x = y stuff, and you will see the
code that does the work, adding options to the empty select list. I
didn't examine it in detail, but the result is that odd numbered options
retain the background-color inherited from the cascade (transparent),
while even numbered options are given a different background-color via a
style= attribute inserted into the document.
which skips the select list and just displays the links, without the
But, if you are patient, CSS3 will apparently be adding selectors for
odd and even children (see
- » after setting <edit>'s margin to 0 it is still non zero! (IE only)
- — Next thread in » HTML Authoring Forum