[Solved] Embedded PDF above Div tags

Get help on web editors (Frontpage, Dreamweaver) and web languages (HTML, ASP, PHP).
Post Reply
DarkRanger
Registered User
Posts: 8346
Joined: 10 May 2006, 02:00
Processor: Intel i5-3750
Motherboard: Gigabyte
Graphics card: nVidia GTX 550Ti
Memory: 8GB Jetram
Contact:

[Solved] Embedded PDF above Div tags

Post by DarkRanger »

Is there any way that I can put a div tag above an embedded pdf?

Or any alternative way to show a PDF so that I can have a div tag above it.

I've tried using google, but our internet is SO slow today, some sites don't load and it takes me 5 - 10 minutes to open a page.

PCF is fast and Google itself is fast, the rest SUCKS...
Last edited by DarkRanger on 19 Jan 2011, 08:54, edited 1 time in total.
Image
User avatar
Ron2K
Forum Technical Administrator
Posts: 9050
Joined: 04 Jul 2006, 16:45
Location: Upper Hutt, New Zealand
Contact:

Re: Embedded PDF above Div tags

Post by Ron2K »

I'm not sure if I'm understanding you correctly - I'm interpreting this as "I want a floating DIV to appear on top of my embedded PDF". If my interpretation is wrong, please stop reading this post and correct me. ;)

I found a CodeProject article that deals with floating DIVs via Javascript; try that and see if it works for you. Of course, there's also jQuery modal dialogs if that's your poison...
Kia kaha, Kia māia, Kia manawanui.
DarkRanger
Registered User
Posts: 8346
Joined: 10 May 2006, 02:00
Processor: Intel i5-3750
Motherboard: Gigabyte
Graphics card: nVidia GTX 550Ti
Memory: 8GB Jetram
Contact:

Re: Embedded PDF above Div tags

Post by DarkRanger »

Ron2K wrote:I'm not sure if I'm understanding you correctly - I'm interpreting this as "I want a floating DIV to appear on top of my embedded PDF". If my interpretation is wrong, please stop reading this post and correct me. ;)

I found a CodeProject article that deals with floating DIVs via Javascript; try that and see if it works for you. Of course, there's also jQuery modal dialogs if that's your poison...
Your interpretation is correct, although your code won't work as it's still doesn't address the issue relating to the embedded pdf. What is happening currently is this. The page loads an embedded PDF, then when a button is clicked, loads a div tag that should black out the whole page (well, dim it is more the word). Then it loads a box (using jQuery) over that containing a message.

Heres a few screenshots to better explain the situation.

What the page loads:

Image

What the div does:

Image

What the div should do:

Image
Image
DarkRanger
Registered User
Posts: 8346
Joined: 10 May 2006, 02:00
Processor: Intel i5-3750
Motherboard: Gigabyte
Graphics card: nVidia GTX 550Ti
Memory: 8GB Jetram
Contact:

Re: Embedded PDF above Div tags

Post by DarkRanger »

any help?
Image
DarkRanger
Registered User
Posts: 8346
Joined: 10 May 2006, 02:00
Processor: Intel i5-3750
Motherboard: Gigabyte
Graphics card: nVidia GTX 550Ti
Memory: 8GB Jetram
Contact:

Re: Embedded PDF above Div tags

Post by DarkRanger »

So I solved this by hiding the pdf before doing the overlay. Incase anybody is looking for a solution.
Image
Post Reply