HighDots Forums  

Connect <script> to dHTML-scrollarea

alt.html.dhtml alt.html.dhtml


Discuss Connect <script> to dHTML-scrollarea in the alt.html.dhtml forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Headbanger
 
Posts: n/a

Default Connect <script> to dHTML-scrollarea - 07-20-2004 , 10:27 AM






Hello,

(sorry if my english is bad, I'm dutch)

Go look at my problem on the internet, if you want:

http://home.planet.nl/~reyve002/Popup/index.html

this site is build with a dHTML-scrollable area. But now I want to open a pop-up from out this scrollable area. For this pop-up I needed a piece of scripting, the following:

<HEAD>

<SCRIPT LANGUAGE="JavaScript">

<!-- Begin
function popup() {
window.open('popup.html', 'popup', 'width=376, height=180, toolbar=0, scrollbars=1, location=0, status=0, menubar=0, resizable=0, screenX=' + ((screen.width - 376) / 2) + ', screenY=' + ((screen.height - 180) / 2) + ', top=' + ((screen.height - 180) / 2) + ', left=' + ((screen.width - 376) / 2) + '')
}
// Eind -->

</script>

In the <body> area I pasted the followwing line:

<input class="text" type="button" value="Popup" onclick'=javascriptopup()'>


NOW THE PROBLEM IS: THE DHTML-AREA DOESN'T REACT ON THE <SCRIPT>-AREA .......... WHAT AM I DOIN WRONG???????

THANKS VERY MUCH FOR HELPING

BART



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.