| Home | Tutorials | Forums | Articles | Blogs | Movies | Library | Employment | Press | Buy templates |
|
|
#1 |
|
Off-Line
Join Date: Aug 2004
Location: Ibiza/Spain language :Hungarian/German/ abit English
Posts: 6,539
|
hi again
i realy was mising this to have no idea and ask stupid questions ![]() here one more : can i give a html page an init parameter somthing like www.side.com/start.html?Var=100 and in side the html : alert(Var) so i get an alert whit 100 in it or instantly call a cunction www.side.com/start.html?MyFunction() in html function MyFunction(){alert(100)} THX in front for any help |
|
|
|
|
|
#2 |
|
Off-Line
Join Date: Aug 2004
Location: Ibiza/Spain language :Hungarian/German/ abit English
Posts: 6,539
|
why i need this :
i wana have ONE html which you call whit the browser this window MUSS have the menubar (or is there a way to prevent it ?) so next step this html opens it self whit windows.open (whit out menubar) and close it self sofare anything fine but this will loop for ever so the html which i opens whit window.open needs to now that it's opened by it self so it hase no menubar and not need to load it self and close it self ![]() |
|
|
|
|
|
|
|
|
#3 |
|
Fried Onions
|
you can parse the URL in JavaScript and use it as a conditional
i.e. start.html#1 and then in javascript Code:
if (document.href.split("#")[1] == 1) // your code here
|
|
|
|
|
|
#4 |
|
Off-Line
Join Date: Aug 2004
Location: Ibiza/Spain language :Hungarian/German/ abit English
Posts: 6,539
|
AHa this sound EXACTLY what i need
will test it sone THX a lot petefs |
|
|
|
|
|
#5 |
|
Off-Line
Join Date: Aug 2004
Location: Ibiza/Spain language :Hungarian/German/ abit English
Posts: 6,539
|
Hmm
on the way ! ![]() --> window.location |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|