White Bar

JavaScript


 

In the Web Editor under the "Insert/Edit Link" button, there is a tab called "Events" this tab allows you to use JavaScript in the Web Editor. As you can see from the sample below, there is a specific syntax that you must use for the JavaScript to work:

 

return alert('Hi!');

 

Begin your statement with the word "return" then type your statement using single quotes only.

 

To kill the link so IE will accept the JavaScript, type " return false; " at the end of your statement, then click on the General tab and put a pound sign " # " in the link field and set the target to "Open in this window/frame (_self)."

 


Screen Shot:


Javascript tab

Place Holder