/    Sign up×
Community /Pin to ProfileBookmark

problem with javascript in firefox

my page doesn’t load in firefox please help

[CODE]
//hieronder de code om de querystring uit de url te halen

//variabelen(section,subsection en left) uit de url halen
var section = “”;
var subsection = “”;
var left = “”;

if (Request.QueryString(“section”).Count > 0) {
section = Request.QueryString(“section”).Item(1);

if (section.length == 0) {
section = “null” //”No section entered, value was empty!”;
}
}
else {
section = “null”//”No section entered, input form element was missing!”;
}

if (Request.QueryString(“subsection”).Count > 0) {
subsection = Request.QueryString(“subsection”).Item(1);
if (subsection.length == 0) {
subsection = “null”//””No subsection entered, value was empty!”;
}
}
else {
subsection = “null”//””No subsection entered, input form element was missing!”;
}

if (Request.QueryString(“left”).Count > 0) {
left = Request.QueryString(“left”).Item(1);
if (left.length == 0) {
left = “null”//””No left entered, value was empty!”;
}
}
else {
left = “null”//””No left entered, input form element was missing!”;
}

//document.write(“section: ” + section + “<br />”);
//document.write(“subsection: ” + subsection + “<br />”);
//document.write(“left: ” + left + “<br />”);
//einde ophalen variabelen uit url

//alert(section)
//alert(subsection)
//alert(left)

document.write(‘<object classid=”clsid:D27CDB6E-AE6D-11cf-96B8-444553540000″ codebase=”http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0″ width=”1000″ height=”100″>’);
document.write(‘<param name=”SRC” value=”Top-Menu.swf?section=’ + section +’&subsection=’+ subsection +’&left=’+ left +’ ” >’);

document.write(‘<param name=”quality” value=”high”>’);
document.write(‘<embed src=”Top-Menu.swf” quality=”high” pluginspage=”http://www.macromedia.com/go/getflashplayer” type=”application/x-shockwave-flash” width=”1000″ height=”100″></embed>’);
document.write(‘</object>’);

[/CODE]

to post a comment
JavaScript

0Be the first to comment 😎

×

Success!

Help @jorre13 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.20,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...