Current location: Hot Scripts Forums » General Web Coding » JavaScript » A script I'm trying to fix...


A script I'm trying to fix...

Reply
  #1 (permalink)  
Old 03-07-04, 10:19 AM
13lade 13lade is offline
Newbie Coder
 
Join Date: Mar 2004
Location: Not telling
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts
A script I'm trying to fix...

Ok, I made this script but it won't work. I'm trying to code for the 2 different browsers. Here is the code:

<script type="text/javascript">
if(navigator.userAgent.match(/msie/i)){
document.write('<a href="home.htm"><img src="Home.gif" style="filter:alpha(opacity=30);-moz-opacity:0.3" onMouseover="high(this)" onMouseout="low(this)" border="0" height="7" width="33"></a><a href="http://insaneshadowart.proboards29.com"><img src="Forum.gif" style="filter:alpha(opacity=30);-moz-opacity:0.3" onMouseover="high(this)" onMouseout="low(this)" border="0" height="7" width="37"></a>')
}
else{
document.write('<a href="home.htm"><img src="Home.gif" height="7" width="33"></a><a href="http://insaneshadowart.proboards29.com"><img src="Forum.gif" height="7" width="37"></a>')
}
</script>

Also, is there a way to access cookies, cause I wanna take their cookie from the forum and put it on the webpage.

Last edited by 13lade; 03-07-04 at 10:24 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #2 (permalink)  
Old 03-08-04, 01:45 PM
13lade 13lade is offline
Newbie Coder
 
Join Date: Mar 2004
Location: Not telling
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts
Wouldn't let me edit it, so I'll just say I figured it out and fixed the problem.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with my largest perl script. Grabbing data from a file. Sunnmann Perl 2 04-23-08 04:27 AM
Looking for a good review management script griz_fan Script Requests 10 07-29-07 06:08 AM
Is there any integrity of script rankings? webmaster@atmanager.com Hot Scripts Forum Questions, Suggestions and Feedback 17 08-06-04 01:12 AM
will pay. php script needed. upload, resize, & email jamjammo Script Requests 4 02-29-04 09:30 PM
Affiliate script (PHP) whtiebear Job Offers & Assistance 2 12-21-03 01:12 AM


All times are GMT -5. The time now is 06:49 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.