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...
[Solved] Embedded PDF above Div tags
-
- 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
Last edited by DarkRanger on 19 Jan 2011, 08:54, edited 1 time in total.
- Ron2K
- Forum Technical Administrator
- Posts: 9050
- Joined: 04 Jul 2006, 16:45
- Location: Upper Hutt, New Zealand
- Contact:
Re: Embedded PDF above Div tags
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...
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.
-
- 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
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.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...
Heres a few screenshots to better explain the situation.
What the page loads:
What the div does:
What the div should do:
-
- 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
any help?
-
- 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
So I solved this by hiding the pdf before doing the overlay. Incase anybody is looking for a solution.