we cant really know why this things happened but further more the group wanted to know have an alert message(javascript) that tells "this website is best viewed in mozilla firefox " if the user is using IE or any other web browsers..
the problem is this: how can i detect what web browser is the user using and i want the alert message to appear but when the user is using the mozilla firefox- the alert message would not appear..
How can i do this?? help! our submission of the site is tomorrow..i need answer asap!
hey! thanks for the answers! i really appreciate it! another thing..*sigh* how can i not let the site appear in IE or any other browser since the alert message says that it is best viewed in Mozilla Firefox..pls..help..asap
I have to make a diamond shape out of loops in JavaScript. How would I repeat a written statement a given time and then gradually increase or decrease it. This is my code so far. <table>
<script>
var Pick = prompt("Choose an odd number between 1 and 19.")
for (i = 0; i <= 5; i++)
{
document.write("<tr>X</tr>" i);
}
for (h = 5; h <= 0; h++)
document.write("<tr>X</tr>" * h);
}
</script>
</table>
If you spot anything else wrong or helpful please point it out. Thanks for the much needed help. Oh and it has to give a certain number of dots in the middle of the diamond. I m thinking to use +Pick+ in the loop to do this.
oh its just Pick not +Pick+
Okay what I have to do is make this but in JavaScript:
*
* * *
Sorry Typo
*
* * *
* * * * *
* * *
*
Like this
it says Hello- you either have JavaScript turned off or an old version of Adobe s Flash Player. Get the latest Flash player. and i downloaded the latest version of FP but it still wont work so how do i do the javascript
PL HELP U COMPUTERS GENUISES PLZPLZPLZPLZPLZ!!!!!! thank you
I tried to debug the code but somehow i just can t find a clue to what i did wrong?
Could someone pleaseeeeeeeeeee help me????????????????????????
Thanks In Advanced!!
<HTML>
<HEAD>
<TITLE>Some Random Stuff<TITLE>
<SCRIPT langauge="JavaScript">
<!--
function right_or_not();
{
var car="blue"
if (car==blue)
{
window.alert("You guessed the right colour of the car- congratulations!!!");
}
else
{
window.alert("Oh we are sorry- you guessed the wrong colour of the car-too bad!!!");
}
}
//-->
</SCRIPT>
</HEAD>
<BODY>
<FORM>
<INPUT TYPE="button" value="Is The Car Blue?" onclick="right_or_not();">
<INPUT TYPE="button" value="Is The Car Red?" onclick="right_or_not();">
</FORM>
</BODY>
</HTML>
is this right now?
<HTML>
<HEAD>
<TITLE>Some Random Stuff<TITLE>
<SCRIPT langauge="JavaScript">
<!--
function right_or_not(me)
{
if (me.name=="blue")
{
window.alert("You guessed the right colour of the car- congratulations!!!");
}
if (me.name=="red")
{
window.alert("Oh we are sorry- you guessed the wrong colour of the car-too bad!!!");
}
}
//-->
</SCRIPT>
</HEAD>
<BODY>
<FORM>
<INPUT TYPE="button" name="blue" value="Is The Car Blue?" onclick="right_or_not();">
<INPUT TYPE="button" name="red" value="Is The Car Red?" onclick="right_or_not();">
</FORM>
</BODY>
</HTML>
I have the menu made- and it works- the links and everything- but I position it on the page where I want it and it pushes all the content down. The javascript has like a ghost menu that goes across the whole page or something! I m a n00b- if someone could help- it would be much appreciated!
one that isnt the site tats down because of javascript
No comments:
Post a Comment