Welcome to Tech Support Forum home to more then 136,000 problems solved. Issues have included: Spyware, Malware, Virus Issues, Windows, Microsoft, Linux, Networking, Security, Hardware, and Gaming Getting your problem solved is as easy as:
1. Registering for a free account
2. Asking your question
3. Receiving an answer

Registered members:
* Get free support
* Communicate privately with other members (PM).
* Removal of this message
* See fewer ads.
* And much more..

 



Want to know how to post a question? click here Having problems with spyware and pop-ups? First Steps
Go Back   Tech Support Forum > Design Forum > Web Design & Programming
User Name
Password
Site Map Register Donate Rules Blogs Mark Forums Read


Web Design & Programming Discussion of web design, and server-side & client-side scripting

Reply
 
LinkBack Thread Tools
Old 01-13-2009, 07:59 PM   #1 (permalink)
Registered User
 
Join Date: Jul 2008
Posts: 18
OS: Mac OS X 10.5.4


[SOLVED] iFrame Popups Buried by Main Page

Hey there all!

So I'm still kinda new with all the code stuff. Really know just enough to put free codes where they belong. But here's my thing, I have a photo gallery where I am using a code to create onMouseOver popups of the fullsize images. I have incorporated this script on a page I am using as an iFrame and this has caused my popups to become buried by my main surrounding page. I don't think this can be resolved by adjusting layers as technically the iFrame page is linked to the surrounding page.

Can I make the popups on an iFrame appear over top the parent page? If it helps, I am using Tigra Hints provided free from Soft Complex. And I am designing with the help of Dreamweaver.

Anyone have any ideas?

If I can't get my popups above the main page I may have to redesign but I don't know why we can't make this work.
tacmed1 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Important Information
Join the #1 Tech Support Forum Today - It's Totally Free!

TechSupportForum.com is a leading support website for your computer needs. We offer free, friendly and personalized computer support. Why pay to have your computer fixed when you can do it for free.

Join TechSupportforum.com Today - Click Here

Old 01-13-2009, 09:58 PM   #2 (permalink)
Moderator: Design
 
dm01's Avatar
 
Join Date: Oct 2006
Location: Richmond, B.C.; Canada
Posts: 1,466
OS: Windows XP [Version 5.1.2600] SP3 | Ubuntu Jaunty Jackalope | Windows 7 Ultimate (MSDNAA I <3 you)

My System

Re: iFrame Popups Buried by Main Page

No you can't. Why are you using an iframe? Can't you serve the content on a usual .html page?
__________________


Validate your Markup Validate your CSS Notepad++
Please use [html], [php], and [code] when posting code or markup.
I do not help by Private Message or e-mail. If for some reason I have over-looked a reply to a thread that I have previously replied to, then send me a message.
dm01 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 01-14-2009, 07:51 AM   #3 (permalink)
Registered User
 
Join Date: Jul 2008
Posts: 18
OS: Mac OS X 10.5.4


Re: iFrame Popups Buried by Main Page

At www.snaphappy.me under the portfolio page is why I am using an iFrame. I ensnare the whole design into one piece to prevent confusing viewers but I wanted to scroll all the images.

Do you know a better way? I am all ears. Seriously. I would redesign so the viewers can see the images. Oh and no I don't have the popups coded in yet.
tacmed1 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 01-14-2009, 09:43 AM   #4 (permalink)
Moderator: Design
 
dm01's Avatar
 
Join Date: Oct 2006
Location: Richmond, B.C.; Canada
Posts: 1,466
OS: Windows XP [Version 5.1.2600] SP3 | Ubuntu Jaunty Jackalope | Windows 7 Ultimate (MSDNAA I <3 you)

My System

Re: iFrame Popups Buried by Main Page

This is going to get complicated, but this will allow your scripts to work as intended.

Make a local working copy of your web page, away from any archives you may have.

Add this to your <style>:
Code:
td.images
{overflow: scroll;}
Add class="images" to the <td> where the <iframe> is now.
Replace the <iframe> with the HTML that the <iframe> was grabbing. Namely:
HTML Code:
<table width="800" height="600" align="center"border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="800" height="108"><table width="800" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="800" height="78"><img src="images/snapphappy_01.gif" width="800" height="78" alt="www.snapphappy.ca" longdesc="images/snapphappy_01.gif" /></td>
      </tr>
      <tr>
        <td width="800" height="30"><table width="800" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="201" height="30"><a href="about.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('About Snap Happy','','images/snapphappyRollOver_02.gif',1)"><img src="images/snapphappy_02.gif" alt="About Snap Happy" name="About Snap Happy" width="201" height="30" border="0" id="About Snap Happy" /></a></td>
            <td width="169" height="30"><a href="PickMe.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Pick Snapphappy','','images/snapphappyRollOver_03.gif',1)"><img src="images/snapphappy_03.gif" alt="Pick www.snapphappy.ca" name="Pick Snapphappy" width="169" height="30" border="0" id="Pick Snapphappy" /></a></td>
            <td width="164" height="30"><img src="images/snapphappyOnPage_04.gif" width="164" height="30" alt="Portfolio" longdesc="images/snapphappyOnPage_04.gif" /></td>
            <td width="266" height="30"><a href="contact.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Contact Snapphappy','','images/snapphappyRollOver_05.gif',1)"><img src="images/snapphappy_05.gif" alt="Get a hold of us at www.snapphappy.ca" name="Contact Snapphappy" width="266" height="30" border="0" id="Contact Snapphappy" /></a></td>
          </tr>
        </table></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td width="800" height="492" border="0" cellspacing="0" cellpadding="0"><table width="800" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td height="492"><table width="129" border="0" cellspacing="0" cellpadding="0">
          <tr>
            
            </tr>
        </table>
          <table width="800" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td width="800" height="412" background="images/PeoplePortfolio2_06.gif"><table width="800" border="0" cellspacing="0" cellpadding="0">
                <tr>
                  <td width="283" height="412">&nbsp;</td>
                  <td width="517" height="412"><iframe width="517" height="412" src="portfolio_Frame2.html"></iframe>&nbsp;</td>
                </tr>
              </table></td>
            </tr>
            <tr>
              <td><table width="800" border="0" cellspacing="0" cellpadding="0">
                <tr>
                  <td width="266" height="80"><a href="index.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Go Home!','','images/PeoplePortfolio_07.gif',1)"><img src="images/NaturePortfolio_07.gif" alt="Go Back Home!" name="Go Home!" width="266" height="80" border="0" id="Go Home!" /></a></td>
                  <td width="298" height="80"><a href="portfolio.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Main Portfolio Page','','images/PeoplePortfolio_08.gif',1)"><img src="images/NaturePortfolio_08.gif" alt="Main Portfolio Page" name="Main Portfolio Page" width="298" height="80" border="0" id="Main Portfolio Page" /></a></td>
                  <td width="236" height="80"><a href="portfolioNaturally.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Portfolio 1','','images/Portfolio1RI_09.gif',1)"><img src="images/Portfolio1_09.gif" alt="Portfolio 1" name="Portfolio 1" width="236" height="80" border="0" id="Portfolio 1" /></a></td>
                </tr>
              </table></td>
            </tr>
          </table></td>
        </tr>
    </table>
      </table></td>
  </tr>
</table>
__________________


Validate your Markup Validate your CSS Notepad++
Please use [html], [php], and [code] when posting code or markup.
I do not help by Private Message or e-mail. If for some reason I have over-looked a reply to a thread that I have previously replied to, then send me a message.
dm01 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 01-14-2009, 02:49 PM   #5 (permalink)
Registered User
 
Join Date: Jul 2008
Posts: 18
OS: Mac OS X 10.5.4


Re: iFrame Popups Buried by Main Page

I'm not at my computer right now ere go I can't try this but for when I get there, you mean to enter all the HTML that composes the page withing the iFrame into the main page, yes? Obviously wouldn't enter head tags. But am I right? All image and rollover tags.
tacmed1 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 01-14-2009, 03:39 PM   #6 (permalink)
Moderator: Design
 
dm01's Avatar
 
Join Date: Oct 2006
Location: Richmond, B.C.; Canada
Posts: 1,466
OS: Windows XP [Version 5.1.2600] SP3 | Ubuntu Jaunty Jackalope | Windows 7 Ultimate (MSDNAA I <3 you)

My System

Re: iFrame Popups Buried by Main Page

Yes, yes of course. Everything from the first <table> to the last </table>. Don't include the </body> or </html> either, or things will get really interesting.
__________________


Validate your Markup Validate your CSS Notepad++
Please use [html], [php], and [code] when posting code or markup.
I do not help by Private Message or e-mail. If for some reason I have over-looked a reply to a thread that I have previously replied to, then send me a message.
dm01 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 01-14-2009, 07:00 PM   #7 (permalink)
Registered User
 
Join Date: Jul 2008
Posts: 18
OS: Mac OS X 10.5.4


Re: iFrame Popups Buried by Main Page

Okay I did what I think I was told and I still have a really long page. This code seems like it should work and the page looks fine other than being stretched right out. What else could I possibly be forgetting?
tacmed1 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 01-14-2009, 07:15 PM   #8 (permalink)
Registered User
 
Join Date: Jul 2008
Posts: 18
OS: Mac OS X 10.5.4


Re: iFrame Popups Buried by Main Page

Quote:
Originally Posted by dm01 View Post
Yes, yes of course. Everything from the first <table> to the last </table>. Don't include the </body> or </html> either, or things will get really interesting.
As far as I can tell there is just something blocking the td.images function from working. The layout is fine, just stretched. A lot.

Also, through the Tigra Hints code I picked up, I have a "f_downloadIMages(A_IMAGES)" for the onload tag. Can or should this be connected with MM_preloadIMAGES? What kind of a mess have we now?
tacmed1 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 01-14-2009, 07:19 PM   #9 (permalink)
Registered User
 
Join Date: Jul 2008
Posts: 18
OS: Mac OS X 10.5.4


Re: iFrame Popups Buried by Main Page

Quote:
Originally Posted by tacmed1 View Post
Also, through the Tigra Hints code I picked up, I have a "f_downloadIMages(A_IMAGES)" for the onload tag. Can or should this be connected with MM_preloadIMAGES? What kind of a mess have we now?
I have fixed the issue with the download tag and I have fullsize images we just have to make scroll this big cell now.
tacmed1 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 01-14-2009, 08:05 PM   #10 (permalink)
Moderator: Design
 
dm01's Avatar
 
Join Date: Oct 2006
Location: Richmond, B.C.; Canada
Posts: 1,466
OS: Windows XP [Version 5.1.2600] SP3 | Ubuntu Jaunty Jackalope | Windows 7 Ultimate (MSDNAA I <3 you)

My System

Re: iFrame Popups Buried by Main Page

Did you keep the height and width attributes? Try adding them to the .images CSS:

td.images
{
overflow: scroll;
height: 517px;
width: 412px;
}

If this doesn't work, I have one more idea. I must warn you that we would be using some high-level XHTML that might not make sense to you at first. I know it didn't to me. However, I do not see any reason why the above should not work.

Do the pop-ups work now?
__________________


Validate your Markup Validate your CSS Notepad++
Please use [html], [php], and [code] when posting code or markup.
I do not help by Private Message or e-mail. If for some reason I have over-looked a reply to a thread that I have previously replied to, then send me a message.
dm01 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 01-14-2009, 09:36 PM   #11 (permalink)
Registered User
 
Join Date: Jul 2008
Posts: 18
OS: Mac OS X 10.5.4


Re: iFrame Popups Buried by Main Page

I must be newer than I thought. I have put the td.images function in my style heading and in a separate linked CSS sheet and it still won't work. I've tried both "<td class="images" and "<images". I know I'm doing something wrong. Is there any other troubleshooting I can do before I bother you with huge amounts of XHTML?
tacmed1 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 01-14-2009, 09:36 PM   #12 (permalink)
Registered User
 
Join Date: Jul 2008
Posts: 18
OS: Mac OS X 10.5.4


Re: iFrame Popups Buried by Main Page

But yes the popups do work. Thankfully we have that.
tacmed1 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 01-14-2009, 11:28 PM   #13 (permalink)
Moderator: Design
 
dm01's Avatar
 
Join Date: Oct 2006
Location: Richmond, B.C.; Canada
Posts: 1,466
OS: Windows XP [Version 5.1.2600] SP3 | Ubuntu Jaunty Jackalope | Windows 7 Ultimate (MSDNAA I <3 you)

My System

Re: iFrame Popups Buried by Main Page

I figured out what the problem is. <td> ignores restrictions on height. We can get around this by using a <div>.

Replace
Code:
td.images
{
overflow: scroll;
height: 517px; 
width: 412px;
}
with
Code:
div#images
{
overflow: scroll;
height: 412px;
width: 517px;
}
and replace
HTML Code:
<td class="images">
with
HTML Code:
<td><div id="images">
.

[Please note, that is id, not class.]

[The # tells the browser to look for an id, not a class.]
__________________


Validate your Markup Validate your CSS Notepad++
Please use [html], [php], and [code] when posting code or markup.
I do not help by Private Message or e-mail. If for some reason I have over-looked a reply to a thread that I have previously replied to, then send me a message.
dm01 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 01-15-2009, 08:02 AM   #14 (permalink)
Registered User
 
Join Date: Jul 2008
Posts: 18
OS: Mac OS X 10.5.4


Re: iFrame Popups Buried by Main Page

That was it my friend! Works great now. I don't know how to thank you... so thanks a lot.

I have learned a great deal since you've been helping me. You're a great soul.
tacmed1 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 01-15-2009, 11:48 AM   #15 (permalink)
Moderator: Design
 
dm01's Avatar
 
Join Date: Oct 2006
Location: Richmond, B.C.; Canada
Posts: 1,466
OS: Windows XP [Version 5.1.2600] SP3 | Ubuntu Jaunty Jackalope | Windows 7 Ultimate (MSDNAA I <3 you)

My System

Pin Re: iFrame Popups Buried by Main Page

You are most welcome. I am happy to be of service.
__________________


Validate your Markup Validate your CSS Notepad++
Please use [html], [php], and [code] when posting code or markup.
I do not help by Private Message or e-mail. If for some reason I have over-looked a reply to a thread that I have previously replied to, then send me a message.
dm01 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 01-17-2009, 05:10 PM   #16 (permalink)
Registered User
 
Join Date: Jul 2008
Posts: 18
OS: Mac OS X 10.5.4


Re: [SOLVED] iFrame Popups Buried by Main Page... Save for one thing

I thought I figured this out before but I was wrong. I have my pictures now popping up all over the screen and successively disappearing below the bottom of the screen border. What tag should I be looking at to adjust this or what tag typically changes the physical location of a popup to stay in the center of the page or follow the mouse. I know the X and Y values are supposed to help but it's as though something in the widget has bypassed that. Any thoughts?
tacmed1 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 01-17-2009, 10:58 PM   #17 (permalink)
Moderator: Design
 
dm01's Avatar
 
Join Date: Oct 2006
Location: Richmond, B.C.; Canada
Posts: 1,466
OS: Windows XP [Version 5.1.2600] SP3 | Ubuntu Jaunty Jackalope | Windows 7 Ultimate (MSDNAA I <3 you)

My System

Re: iFrame Popups Buried by Main Page

So these pictures are in the pop-ups?

Could you update your site with the latest revisions? I can see what is going on much better if I have something to look at. Now that we know the revisions work, it is safe to do a full replacement of the old page with the new page.

You don't seem to have (x,y) declared for any of your images themselves. I don't know if there is a way to do this dynamically (such that you only have to do it once). I will have someone more knowledgeable in this area have a look, as my grasp of JavaScript is tenuous at best. (I usually understand what is going on when I look at it, but I can't code any.)
__________________


Validate your Markup Validate your CSS Notepad++
Please use [html], [php], and [code] when posting code or markup.
I do not help by Private Message or e-mail. If for some reason I have over-looked a reply to a thread that I have previously replied to, then send me a message.
dm01 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 01-18-2009, 12:27 AM   #18 (permalink)
Registered User
 
Join Date: Jul 2008
Posts: 18
OS: Mac OS X 10.5.4


Re: iFrame Popups Buried by Main Page

Hi there!

So yes the pictures ARE the popups. I have loaded the new pages and you'll quickly see what I'm talking about. Go into the Nature Portfolio and scroll right to the bottom to see what I mean. Your main scrollbar shrinks so you can tell the picture pops up. There are values that apparently edit the position of the "hint" in relation to the edge of the screen and the origin but I can't see that they work much. Neither does the follow attribute.

What you think?
tacmed1 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 01-18-2009, 04:02 PM   #19 (permalink)
Design Team Member
 
jamiemac2005's Avatar
 
Join Date: Jul 2007
Location: Coventry, UK
Posts: 1,887
OS: Vista, various linux distros


Re: iFrame Popups Buried by Main Page

Hey, dm01 asked me to take a look at this, basically the positioning functions are overworked so getting the config right is an effort[and doesn't really work].

So i rewrote a small part of the positioning of the hints. (Now they center rather than jumping about, you could get this working just using the config if you tried but it would take ages of trial and error)

It doesn't work on IE on my pc but neither did it when i saved a copy of the page to my own pc so i'm hoping it works when you try it.

Anyway i only had to rewrite code in the "tigra_hints.js" file so i've re-uploaded it in a zip file.

Get back to me on whether it works or not.

Cheers,
Jamey
Attached Files
File Type: zip tigra_hints.zip (3.0 KB, 2 views)
__________________

Myspace
jamiemac2005 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 01-19-2009, 08:20 AM   #20 (permalink)
Registered User
 
Join Date: Jul 2008
Posts: 18
OS: Mac OS X 10.5.4


Re: iFrame Popups Buried by Main Page

Well not only does the pop up work in IE but you get this cute zoom in/out effect. Dang Firefox. They work and I am very happy. Thanks to both of you guys. If you view it, you'll see that you have to mouse off the big image and go to the next but, in my opinion, after all we've been through with this I think I'm inclined to live with it.

Thanks a lot. I know where to keep coming for help.
tacmed1 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -7. The time now is 03:21 AM.



Copyright 2001 - 2009, Tech Support Forum
Home Tips Plus | Outdoor Basecamp | Automotive Support Forum

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85