Welcome to HostingForumz.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

z-index on framed page - drop nav over content frame

 
   Web Hosting Problem Solving Community! (Home) -> Webmaster RSS
Next:  having a default email address in cpanel  
Author Message
Joe Joe

External


Since: Nov 14, 2005
Posts: 8



(Msg. 1) Posted: Sat Feb 18, 2006 11:27 am
Post subject: z-index on framed page - drop nav over content frame
Archived from groups: alt>www>webmaster (more info?)

I am working on a site that requires one framed page to pull in careers from
an outside source/vendor. Fixed top and bottom are my common header and
footer. I have a css based drop navigation on top. I can't get it to go over
top of the content frame in the middle. So for now I have set the header
height to 200px. This causes a blank white area when you are not mousing
over the nav and my longer drop downs are cut off by the frame below.

Anyone know how to make my nav in the top frame lay over the top of my
content or middle frame? I tried z-index but had no luck. I am using DW8 my
2 local pages I am pulling in are asp, the outside page is cfm. The site
uses tables for layout structure at the request of the client.

Any suggestions appreciated.
J

 >> Stay informed about: z-index on framed page - drop nav over content frame 
Back to top
Login to vote
Paul Ding

External


Since: Nov 29, 2005
Posts: 235



(Msg. 2) Posted: Sat Feb 18, 2006 3:55 pm
Post subject: Re: z-index on framed page - drop nav over content frame [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Sat, 18 Feb 2006 12:03:43 -0500, "Joe Joe"
posted something that included:

>Do you have a suggestion of how to accomplish this without frames. I tried
>to do a require using PHP but couldn't get it to work. I'm guessing it's
>because my page was php but the include page was cfm. I'm open to any
>alternatives to frames.

With Perl, it's fairly straightforward to get() the page you want, and
then paste it right into the page.

I'm not sure PHP is up to the task.

--
AmishHosting.com

 >> Stay informed about: z-index on framed page - drop nav over content frame 
Back to top
Login to vote
trevor

External


Since: Feb 17, 2006
Posts: 97



(Msg. 3) Posted: Sat Feb 18, 2006 3:55 pm
Post subject: Re: z-index on framed page - drop nav over content frame [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

> With PHP it's actually even easier than Perl -- you simply "include()" the
> file the same way you'd include a file on the local file system.

totally the way to go! the heck with frames, they are and always have been a
nasty nightmare.

BTW, z-index only works for absolutely positioned children of relative
parents. or snotty children of wealthy parents. i never have been able to
keep that straight.
 >> Stay informed about: z-index on framed page - drop nav over content frame 
Back to top
Login to vote
trevor

External


Since: Feb 17, 2006
Posts: 97



(Msg. 4) Posted: Sat Feb 18, 2006 9:07 pm
Post subject: Re: z-index on framed page - drop nav over content frame [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

> Anyone know how to accomplish this using ASP instead of PHP?

yup. read up on ASP.

please, no applause.
 >> Stay informed about: z-index on framed page - drop nav over content frame 
Back to top
Login to vote
Paul Ding

External


Since: Nov 29, 2005
Posts: 235



(Msg. 5) Posted: Sun Feb 19, 2006 4:55 am
Post subject: Re: z-index on framed page - drop nav over content frame [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Sat, 18 Feb 2006 20:36:02 +0000, Toby Inkster
posted something that included:

>Paul Ding wrote:

>> With Perl, it's fairly straightforward to get() the page you want, and
>> then paste it right into the page.

>> I'm not sure PHP is up to the task.

>With PHP it's actually even easier than Perl -- you simply "include()" the
>file the same way you'd include a file on the local file system.

That function is smart enough to strip out the mandatory DOCTYPE and
TITLE information and any optional header information that ought not
be present in the body of the page you're creating?

--
AmishHosting.com
 >> Stay informed about: z-index on framed page - drop nav over content frame 
Back to top
Login to vote
Paul Ding

External


Since: Nov 29, 2005
Posts: 235



(Msg. 6) Posted: Sun Feb 19, 2006 8:55 pm
Post subject: Re: z-index on framed page - drop nav over content frame [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Sun, 19 Feb 2006 18:39:42 +0000, Toby Inkster
posted something that included:

>Paul Ding wrote:
>> include() is smart enough to strip out the mandatory DOCTYPE and
>> TITLE information and any optional header information that ought not
>> be present in the body of the page you're creating?
>Of course it doesn't remove parts of the HTML. (Nor does LWP.)

Yes, but as long as you're running the perl script, it's pretty easy
to extract the body from the page. That's the part of the task that I
figured that PHP might have difficulty with.


--
AmishHosting.com
 >> Stay informed about: z-index on framed page - drop nav over content frame 
Back to top
Login to vote
the Big H

External


Since: Jan 23, 2012
Posts: 1



(Msg. 7) Posted: Mon Jan 23, 2012 5:36 am
Post subject: Re: z-index on framed page - drop nav over content frame [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

I had a similar problem getting it to work on my framed in pages on
http://plugtrade.com

here was my solution:
http://plugtrade.com/plug/19.php

I ended up having to use jquery but in the end it looks like it all
works out. At least I think that's what you are talking about? Using
iframes and divs for the content and faking a frameset layout?

Make sure if you are doing this that you check for resizing (requires
jQuery):


<script>

$(document).ready(function() {
$('#main').css({'height'Sad($(window).height())-100)+'px'});
$(window).resize(function() {
$('#main').css({'height'Sad($(window).height())-100)+'px'});
});
});


$(document).ready(function(){
var iframe = $("#main")[0];
iframe.contentWindow.focus();
});
</script>


On 2/18/2006 9:27 AM, Joe Joe wrote:
> I am working on a site that requires one framed page to pull in careers from
> an outside source/vendor. Fixed top and bottom are my common header and
> footer. I have a css based drop navigation on top. I can't get it to go over
> top of the content frame in the middle. So for now I have set the header
> height to 200px. This causes a blank white area when you are not mousing
> over the nav and my longer drop downs are cut off by the frame below.
>
> Anyone know how to make my nav in the top frame lay over the top of my
> content or middle frame? I tried z-index but had no luck. I am using DW8 my
> 2 local pages I am pulling in are asp, the outside page is cfm. The site
> uses tables for layout structure at the request of the client.
>
> Any suggestions appreciated.
> J
>
>


--
Play Online Games For Free <http://plugtrade.com> - Celebrity Gossip
<http://insidefame.com>
 >> Stay informed about: z-index on framed page - drop nav over content frame 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Framed page followup - A recent thread ... how to keep a page in a frame ... Can you call a page thusly? https://anydomain.com/anypage.html?__frame=_top A page I visited had that behavior with this in the URL. Of course, anyone can copy the link location, paste into the..

@page, @frame and menu - Hello, I would like to make a page with a menu on the left and some html pages on the right. I don't want to have to change the right pages when I upload new ones, they are exported Gnucash reports. Which is best way to do it ? I've seen that @page and....

Creating a scrollable Frame in the same page - I cannot seem to find the answer to this rather simple question. Pardon me if it looks illogial or silly. Can I create a frame in the same page without referring to other html files? I.e., I have a large dynamically created table in my JSP page. I would...

Link to open a frameset page to a specific url in a frame? - I know I've done this in the past, but dang, I forget how I did it! If you know how its done, I'd sure appreciate it if you would share that info with me. I want to go from a non-frames page to open a frameset and then to open a specific url into the..

Drop Down Link to EMail Rather then Web Page ? ? ? - Greetings Folks! Got a question for you in the know. I created a menu bar with one button being a drop down menu that will consist of a number of people that will need to be linked to their email. I tried using mailto:person@somewhere.com as the link but...
   Web Hosting Problem Solving Community! (Home) -> Webmaster All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]