1 (edited by bobby.fasel 2014-02-11 15:13:25)

Topic: Gallery not displaying on embed [SOLVED]

Hey hey!

Gallery not displaying upon embed. I've double checked just about everything I can think of, have followed all of the various troubleshooting issues, still can't seem to get it.

Where I have it embedded: http://bobbyfasel.com/rumwolf/gallery.html

Non-embed works fine: http://bobbyfasel.com/rumwolf/index%20(2).html

So, so sorry - this is probably a total broken record question.
Will keep trying here and will post if I fix it.


Thanks in advance!

Re: Gallery not displaying on embed [SOLVED]

The problem with your web page is likely to be your CSS.
All rules within the the global selector (*) section will apply to all elements on your web page (including those within the gallery). Juicebox has no option but to inherit such rules.
Also, your CSS applies rules to all anchor elements (again, including those within the gallery).
Use ids and classes to apply CSS rules to only those elements on your web page that require them.
Please see here for details on how this can be achieved: CSS Id and Class.

Also, I notice that your web page does not use a Doctype declaration. It is important that each HTML document uses a Docytype declaration in order to inform the user's browser what set of standards the code on your web page should conform to. Add an appropriate Doctype declaration to your page.
From the look of your code, you could use the HTML 5 Doctype. Add the following code to the very top of your HTML page (before the opening <html> tag).

<!DOCTYPE html>

Once you have added the Doctype Declaration to your web page, you can check the page for HTML errors (and fix any errors reported) with the W3C Markup Validation Service.

Re: Gallery not displaying on embed [SOLVED]

Doctype and removal of the asterisk on the gallery page helped :)
Thanks so freaking much. Sorry, total doof here. :)

Re: Gallery not displaying on embed [SOLVED]

I am glad my suggestion helped.
Thank you for posting back to let me know.