Sunday, May 25, 2008

It syas my javascript is turned off or that i need to download the newest version of firfox or wahtever.

Ive done both- Well the javascript when i go to tools- internet options then click javascript it says its on... Whats going on?

basically i m making a website for a friend which he s going to want to update random bits rather frequently.

I d rathe not have to go through the trouble of teaching him which bits of code to edit etc- so i figured i d make a kind of "fake control panel" for him to do the editing from. The idea was going to be some forms where he could input the text- and it d save it into a text file or something.

Then i could juse javascript to load that text file into the content area.

Just wondering how i would do this. Also so as not to risk somebody tampering. How would i go about putting a VERY simple login system to reach the control panel bit.

I try to go to the next page and it doesn t work. It looks like a javascript problem- but the javascript in the browse sections works correctly. I don t have a popup blocker blocking it. I ve tried on Firefox and Internet Explorer and it still doesn t work.

Can anyone please tell me what is wrong with this script that redirects the page depending on the browser.

<script type="text/javascript">
var browser = navigator.appName;
var b_version = navigator.appVersion;
var version = parseFloat(b_version);
rExp = /\.php\?/;
myString = location.href;
results = myString.search(rExp);
if(results == -1){
var_add = "?";
}else{
var_add = "&";
}
if(browser == "Microsoft Internet Explorer"){
if(version < 8){
window.location = location.href + var_add + "browser_name=IE";
}
}
if(browser == "Firefox"){
window.location = location.href + var_add +"browser_name=FIREFOX";
}else{
window.location = location.href + var_add + "browser_name=FULL";
}
</script>
Any help is appreciated.

URL - http://www.godofgod.co.uk

I wanna play toontown so how do i meet the requirements ?
Here they are-

1)Microsoft Windows 98- ME- 2000- or XP running on a PC
- I have this already

2) Internet Explorer versions 5.5- 6 & 7 browser
- i have IE 7 already

3)Javascript enabled on your browser
- I think its enabled but just tell me how to anyway plz.

4)Adobe Flash Player 8+ browser plugin
- Plz tell me where to download this...

5)Downloading- installing and running of the Toontown ActiveX conrol allowed
-How do i enable ActiveX?????

6) SSL 3.0 protocol enabled in your browser
- This- i just don t get...

So- help will really be appreciated!
Thx

No comments: