KnockDown
Practical
Germany
23 Posts |
Posted - 23 Dec 2005 : 23:54:49
|
Hi Martin,
Only::: place a Html-Box, and paste your Script-Code. this Box you can move where ever you want!!
######################################################## If you want a Javascript-function with funktion-call????????? do this: ((You must place your javascript-function in the header-Section of your Site. The Function-Call must be placed in body-Section.)) To implement the javascript-funktion ----> do this:: 1. click on a free place of your wished site, to rich the costum-button of it. 2. click the 'custom-button' on the right hand (a new Window apper) 3. Click on 'SCRIPT/EVENT' 4. Click 'Header Code...-button' 5. in this box you paste your Code (Javascript-function).
function-call::: 6. ABSOLUT ALL EVENT's....... YOU CAN now LINK TO THIS FUNKtion
SAMPLE:: This is a JavaScript-function to open a seperat Browser window to view A Picture or another HTML-Site.
::::::::::: <script language="JavaScript" type="text/javascript"> <!-- function auf(url) { windowName = ""; options = ""; options += "toolbar=0,"; options += "location=0,"; options += "directories=0,"; options += "status=0,"; options += "menubar=0,"; options += "scrollbars=0,"; options += "resizable=1,"; options += "width=900,"; options += "height=560"; win = window.open(url, windowName , options); if (!win.opener) { win.opener = window; } }; //--> </script> :::::::::::
the Function is called ---> auf(url) the argument 'url' ---> points to a picture or another site.
To call this function:::: place a Image for example and setup the event-section of it. for example: onclick --> javacall --> auf('www.hexagora.com/home.png'); onclick --> javacall --> auf('www.hexagora.com/home.htm');
after you done this, bellow appear this: onclick, JavaCall, auf('www.hexagora.com/home.png'); ##################################################
I hope this helps a little....
KNOCKDOWN bye |
Edited by - KnockDown on 24 Dec 2005 00:37:29 |
|
|