, Guest!
Already a Member? Login or Register.

Menu



Showcase


Due to the volume of spam happening on our forums, posting is now restricted to verified members only.  If you're not verified, drop us a note with your username.

Home > FlexCMS Support Forum > User Help > Code Snippets > Pop Up/Out Window

FlexCMS Support Forum


Pop Up/Out Window
Started April 11, 2006 @ 9:38am by 2bengel
Post Message 
2bengel


Posts: 4
 
Pop Up/Out WindowApril 11, 2006 @ 9:38am
Hello,

Is it possible to create a popup on the index page.

 

Last Edit: May 10, 2006 @ 2:00pm by otter
otter
Administrator



Posts: 177
 
April 11, 2006 @ 11:22am
Greetings 2bengel,

Yes, you can use a popup on the index page as well as on any other page in FlexCMS using Javascript.

For example, I created a page at our Demo/Sandbox site (http://demo.flexcms.com) wherein I placed the following Javascript:


Code

<head><SCRIPT LANGUAGE="JavaScript"><!-- Begin
function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=1,scrollbars=1,location=1,statusbar=1,menubar=0,resizable=1,width=600,height=350,left = 387,top = 159');");
}
// End -->
</script></head><body><BODY onLoad="javascript:popUp('http://www.sandyscandleshop.com')">


You can see that page in action here.

otter


ONLINE TRAINING CLASSES FOR FLEXCMS IN MAY: FlexCMS Basics (101), Sat., May, 15, 2010 & FlexCMS Blocks (Mon., May 10, 2010).
 

Post Message 




Try & Buy FeedForAll - Easy to use RSS Feed Creator - great for iTunes users!

MEMBERS




All Contents, Code, Scripts and Technologies Copyright 2003-2009 FlexCMS.
All Rights Reserved. Software License Agreement

Processing Time: 0.09035 seconds.
 
Management Login

Powered By FlexCMS
Powered By FlexCMS