Subject:*
<
Name/Email:*
<
Message Icon:*
<
Select*
<
Message:*
<



Click the Preview to see the content in action.
Options:*
<
Confirmation Code*
<
5 + 6 = ?  
Input the result from the expression
Maximum attempts you can try: 10
*
<
     

Re: Browser Determination
by xuser on 2006/4/28 3:07:59

it looks firefox doesnt support such feature
Re: Browser Determination
by ghettonet on 2006/4/28 2:01:12

Thanks for the help, i'm not much of a programmer either. I know a bunch of Java - that's what they require here at RIT (to start with). Here is the code I have in a custom block:

Quote:
<html>
<body>
<script type="text/javascript">
<!--[if IE]>
<font color="#FF8000" size="2" face="Arial">
<a class="doHome" style="cursor:hand;"
HREF onClick="this.style.behavior='url(#default#homepage)';
this.setHomePage('http://medinaexposed.sytes.net);">
<img src="http://ghettonet.no-ip.org/~gnbe/house.gif" alt="Make Us Your Start Page"><br><br>
Make Us Your<br>
Start page!
</a>
</font>
<![endif]-->
</script>


I found it on hotscripts.com, and it was the closest thing I could find for what I wanted to do.
Re: Browser Determination
by JMorris on 2006/4/27 5:28:45

I'm not much of a programmer, but I believe you can use the reserved PHP variables to create a conditional statement that will redirect based on browser type. Since PHP is parsed server-side instead of client-side (like JavaScript), this *should* be cross-browser compatible.

But again, I'm not a programmer, but I hope this will at least get you started in the right direction.

Link: PHP Reserved Variables

Also, if you could provide the code you are working with, that might make it a little easier for others to assist you.

Best Regards,

James
Browser Determination
by ghettonet on 2006/4/27 5:11:48

I have a block on my site for users to click and and make my site their start page. The script however, only works on IE, the block contents won't even show up with Fire Fox. I found a script to send users to a different site depending on browser type. How would I make it so that the block itself doesn't show if the visitor uses anything except IE? The block now shows up with nothing in it and thats kind of ugly. Barring that, has anyone heard or seen a better script (for making a button to make the visitors start page my page) that would work with both Fire Fox and IE? This script was all I could find.

Who's Online

214 user(s) are online (138 user(s) are browsing Support Forums)


Members: 0


Guests: 214


more...

Donat-O-Meter

Stats
Goal: $15.00
Due Date: Jul 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $15.00
Make donations with PayPal!

Latest GitHub Commits