Activity › Forums › Web Design (WordPress, Joomla, etc.) › Full Page Overlay – FAO Abraham
-
Abraham Chaffin
December 23, 2008 at 3:46 pmYou would use the javascript function like this:
function clicker(){ var thediv=document.getElementById('displaybox'); if(thediv.style.display == "none"){ thediv.style.display = ""; thediv.innerHTML = file_get_contents("https://www.creativecow.net/404.html"); }else{ thediv.style.display = "none"; thediv.innerHTML = ''; } return false; }The changed line is the line:
thediv.innerHTML = file_get_contents(“https://www.creativecow.net/404.html”);
-
Don Noray
January 14, 2009 at 9:08 amHi Abraham, first I would like to thank you for the tutorial. I am creating a site for the church I attend and I tried the overlay of a flash video but I can see the images behind the flash. I set the wmode to opaque but to no avail. Can you check it out for me please?
https://dnoray.com/test.html
This is the direct link to the swf file https://dnoray.com/fla/message1.swf -
Abraham Chaffin
January 14, 2009 at 4:00 pmRemove the wmode parameter all together. the wmode=opaque is causing it to pick up transparency. Just remove the wmode parameter.
-
Don Noray
January 17, 2009 at 8:46 pmHi Abraham,
Thanks for the response but I removed the wmode and it is still transparent on the mac platform but is fine on pc. Is there any workaround to this?
https://dnoray.com/test.html -
Jason D’andrade
January 25, 2009 at 1:05 amI would like to use the overlay and have a full html page load in the center of the overlay. The file_get is not working for me. Is there another way to do it without PHP or Ajax? Your insight would be greatly appreciated.
-
Steve Mara
January 28, 2009 at 8:41 pmHello Abraham,
Your Full Page Overlay code is what I have been looking for, its perfect! Can you help me call the function from within a flash file.
I am trying this:
on (release){getURL("javascript:'return clicker();'");
}and the new page just says return clicker on it, the div doesn’t get activated.
Many thanks,
Steve -
Abraham Chaffin
January 28, 2009 at 9:08 pm -
Daniel Lahey
April 30, 2009 at 1:50 amI am unable to create a popup form that doesn’t inherit the opacity of the ‘displaybox’ div. In other words, the form and all of its elements inherit the 50% opacity of the ‘displaybox’ div. I’ve tried setting the opacity of a div in the innerHTML to 1.0 (I’m on Firefox 3.x), setting the opacity of the elements, setting the z-index higher than that of the ‘displaybox’ div, etc. Help, please!
Cleverness is serviceable for everything, sufficient for nothing ~ Henri-Frederick Amiel
Reply to this Discussion! Login or Sign Up