Greenguy's Board


Go Back   Greenguy's Board > Programming & Scripting
Register FAQ Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
Old 2003-10-28, 01:12 AM   #3
Tino
Are you sure you're an accredited and honored pornographer?
 
Join Date: Sep 2003
Posts: 61
Send a message via ICQ to Tino
Another question.

I would like to make the page/script availabe for Netscape and other browsers. I really dont know enough about javascript to change the code myself. I asked some wiseguy how to do it he said this:
---------------------------------------
What you can do is make use of, for instance classes...

<div class="dropmsg1">

and then do something along the lines of:

function expandone(){
if (document.getElementsByTagName) {
var an = document.getElementsByTagName('div');
for (i=0; i<an.length; i++) {
if (an.item(i).getAttribute('class') == "dropmsg"+selectedItem ) {
var selectedItem=document.dropmsgform.dropmsgoption.selectedIndex
contractall()
an.item(i).style.display='block'
}
}
}
----------------------------------

I tried to install this by replacing some of the lines in the current script with this, but since I dont have a clue what im doing- I cant get it working:-(
__________________
Neighbourhoodgirls

Tino is offline   Reply With Quote
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:22 PM.


Mark Read
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc