Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

please help with javascript and a button question 1

Status
Not open for further replies.

disfasia

Programmer
Apr 20, 2001
378
CA
Dear All,

I have made a site at


After you go to this site and wait for the final page to come up, you see a button at the bottom of the page which loads a separate window, a "virtual tour". I wrote the botton with the following script:

on (press) {
getURL ("javascript:NewWindow=window.open('virtualtour.html', 'newWin', 'scrollbars=no,status=no,width=800,height=550');");
}
 
I have put the fla. online for you to see (only for those with fast connex)...

any help would be greatly appreciated!

best,

disfasia
 
What's your problem exactly? Regards,

oldman3.gif
 
When the button for the virtual tour is pressed, it makes the main page white (on pcs at least).

1.how do i fix this?
2. how to make a button that goes from the virtual tour back to the home page WITHOUT entirely reloading the intro to the main page

that's it...thanks..
 
Use this code and it should work. It does for me.

Code:
on (press) {
getURL("javascript:NewWindow=window.open('[URL unfurl="true"]http://www.disfasia.net/virtualtour.html','newWin','width=800,height=550,left=0,top=0,toolbar=No,location=No,scrollbars=No,status=No,resizable=No,fullscreen=No');NewWindow.focus();void(0);");[/URL]
}

No line breaks, no spaces anywhere.

No need to add a button to go back to the main movie. Regards,

oldman3.gif
 
Thanks oldnewbie! when i get home tonight i will try this out! thanks again!

disfasia
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top