![]() | ![]() |
| The code for an invoked by click console: (note - you can highlight the code and press ctrl+c to copy it) |
|
<script language="JavaScript"> function invokedwindow() { window.open("nameofpopup.html", "window_name", "toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, width=300, height=300, top=100, left=100"); } </script> You will need to create the link for the surfer to click to invoke the console like so: <a href=#consoles onClick="invokedwindow()">Click Here To Invoke Console</a> |
| Breaking down the various parts of the code: |
|
Here, the attributes you can change remain exactly the same as the ones you can set with a basic console. Please refer to this section under basic consoles by clicking here.
|
| Where to place the code: |
|
You can place this piece of script anywhere between your <head> </head> tags. You will place the link invoking in somewhere in the body of your page.
|
| A working demonstration of a basic console: |
|
Example of an invoked by click console console.
|