ok i have already found a script to hide a certin file type here it is:
Code:
x=getAttribute('src')x=x.substring(0, x.indexOf('.jpg'));
I don't know javascript so can someone please explain what that does to me and please modify it so it will work with this
Code:
var displayStyle = (divIndex==selectedIndex || selectedIndex===true)?'inline':'none';
document.getElementById('game_'+divIndex).style.display = displayStyle;
basically i want to
1. change the script so it finds .jpg and .JPG
2. use the script in the second script below to basically hide the objects with that extension you can use the second script or make a new one if you want...
3. make it so i can make a link go to javascript :functiontocall()
and thats it
Thanks in advance and please help it shouldn't take more then a few minutes.
SOLVED!
http://codingforums.com/showthread.php?t=176707
__________________
Please login or register to view this content. Registration is FREE Free Online Games
Last edited by pcmaster160; 09-10-2009 at 08:34 PM..
|