|
|
||||||
|
||||||
| Index Link To US Private Messages Archive FAQ RSS | ||||||
| Graphics & Design Discussion Forum Post your graphics design questions/comments/ideas in here. Ask questions, post tutorials, discuss trends and best practices. Sub-forum for website accessibility and usability. |
Share Thread: & Tags
|
||||||
|
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
||||
|
So I'm trying to make a registration form for a client who wants the form to open up in a litebox - for those who don't know what the litebox is, it's usually used in image galleries - when a user clicks on one of the images, it pops up with 'next' and 'previous' buttons and allows you to browse through all the pictures in the gallery...
the site that let's you download the script and see an example is here: Lightbox 2 BUT! I have seen a few sites that use that functionality for other purposes - namely the one I am trying to achieve today - where when a user gets to a page, the page blackens out (dims to black), you can still see the page but a litebox opens with content in it. I think I can figure out how to get the content rather than an image to display in the litebox but I need it to activate when the page loads...if anyone knows of this hack let me know. Thanks everyone...
__________________
Join free dating sites and meet single people without paying a penny. |
|
||||
|
__________________
Join free dating sites and meet single people without paying a penny. |
|
||||
|
OK ThickBox isn't working as I planned and hoped...still searching...
__________________
Join free dating sites and meet single people without paying a penny. |
|
|||
|
Looks like they no longer support ThickBox, did you check out the list of alternatives at the top of the page?
http://colorpowered.com/colorbox/ http://jqueryui.com/demos/dialog/ http://fancybox.net/ http://swip.codylindley.com/DOMWindowDemo.html http://www.shadowbox-js.com/index.html |
|
||||
|
So now I narrowed down my search and found ShadowBox which seems to be the same type of script as LiteBox but allows you to display content within the LiteBox (ShadowBox) and load the content when the page loads...
My client wants the submission form to load in the ShadowBox when the page loads...a serious 'Call to Action'... So now, I was able to nicely implement this script but my last problem is as follows, maybe someone can help me: The page that has the ShadowBox (a form of LiteBox) script installed on it, works fine but it has a flash header. When the page loads and the ShadowBox script executes, everything is nice and beautiful but the Flash header disappears until the ShadowBox is closed... I'm searching and searching to no avail... I need the flash to continue displaying behind the ShadowBox, but obviously in the same way the other HTML elements are displaying...
__________________
Join free dating sites and meet single people without paying a penny. |
|
||||
|
Thank you epep...
__________________
Join free dating sites and meet single people without paying a penny. |
|
|||
|
It may be a question best asked in the ShadowBox Forum (Shadowbox.js Media Viewer Forum). But you may be able to play around with the z-index of the flash object to get it to display properly, just a stab in the dark though.
|
|
||||
|
ya I'm at the forum but z-index might be an option, my only concern is that it will display over the 'fade-into-black'...
there was a fix that was posted at the forum there but on my end it didn't fade out the flash - only the rest of the content was... It mentioned taking out this line in the shadowbox.js file: Code:
el.style.visibility = 'hidden';
__________________
Join free dating sites and meet single people without paying a penny. |
|
||||
|
Thanks, I'll check that out, I don't know if it works for ShadowBox but I might be able to snag a snippet and throw it into the .js file I'm working with now...
__________________
Join free dating sites and meet single people without paying a penny. |
|
||||
|
Another option you might want to consider is to use this: dhtmlxWindows – Feature rich, skinnable dialog windows for web applications
This allows you to place dialog windows over the main browser window, greying out the browser window behind (if the window is set modal). The dialog box can contain any HTML so can easily accommodate your login form, etc. It handles all major browsers, is skinnable and it's free to use. |
|
||||
|
Well thank you Dave, I had a look at the link and it's not what my client wants but I'm bookmarking that link for future use...thanks again man...
I think I may have found the flash fix...I'm not sure why the fix isn't so easy to find. There are so many forums and blog comments asking for help with the flash issue and ShadowBox...you'd think by now someone would have the real fix for it... Tomorrow is another day...
__________________
Join free dating sites and meet single people without paying a penny. |
|
||||
|
ok that was brutal...but I got it to finally work.
For ShadowBox, there is a javascript file named shadowbox.js. In there, on line 1986, there is a line of code that reads: Code:
el.style.visibility = 'hidden'; Code:
el.style.visibility = 'visible'; So I added... Code:
wmode="transparent" In the end that finally worked! The end result is haltonautolease.com/test.htm I feel sorry for the people who are trying to find a fix for this flash disappearing issue with ShadowBox or Litebox because there are tons of questions and very few answers - I had to look at many answers and put together my own. Thank you everyone for your help ! P.S. I do very little SEO for this site just in case you're wondering...although the little I did do (on-page, a few classifieds links) is working pretty good for them...locally...
__________________
Join free dating sites and meet single people without paying a penny. Last edited by morestar; 11-12-2009 at 03:35 PM. |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| What happened to voice activation? | cheamus | The Castle Breakroom (General: Any Topic) | 3 | 02-18-2006 07:24 AM |
| Commission Junction Slow page loads and Free Datafeed | TrafficProducer | Affiliate Marketing Discussion Forum | 3 | 09-28-2005 01:55 PM |
| Google results changing after page loads | jpavery | Google Discussion Forum | 1 | 02-20-2004 12:27 AM |
| New Adobe Activation Annoyance | grease | Graphics & Design Discussion Forum | 5 | 02-05-2004 04:45 PM |
|
WebProWorld |
Advertise |
Contact Us |
About |
Forum Rules |
MVP's |
Archive |
Newsletter Archive |
Top |
WebProNews
WebProWorld is an iEntry, Inc. ® site - © 2009 All Rights Reserved Privacy Policy and Legal iEntry, Inc. 2549 Richmond Rd. Lexington KY, 40509 |