navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

Microsoft MVP

 

CSS popups

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> Cascading Style Sheets >> CSS popups
Page: [1]
 
Nicole

 

Posts: 2843
Joined: 9/15/2004
From: Nambucca / Kempsey, Australia
Status: offline

 
CSS popups - 5/25/2006 5:44:40   
I've been having a play around with this:

http://www.meyerweb.com/eric/css/edge/popups/demo.html

And I have a question. I have a fixed width, centered layout that i was thinking I could use this on, although using position: absolute it's obviously placing the pop-up text way off to the left, and using position: relative it's putting it relative to the link.

I've gone ahead and changed the top and left positions too but when the screen is resized it's moving away from the area under the navigation.

Do any of you think this can be used for a fixed width centered layout or just a full screen resizeable layout?

Thanks

Nicole

_____________________________

:)
Tailslide

 

Posts: 6126
Joined: 5/10/2005
From: Out here on the raggedy edge
Status: online

 
RE: CSS popups - 5/25/2006 6:31:06   
We'll have to see your code I'm afraid - do you have a test page?

Usually these issues are because the popup is being positioned relative to the viewport rather than to the thing it's popping up next to - if that makes any sense at all! If the "thing" (i.e. div) that contains the popups doesn't have Position:relative then the absolutely positioned thing will keep going up the line of elements either until it finds something that is "relative" or until it gets to the highest level - i.e the body.

_____________________________

"My strategy is so simple an idiot could have devised it"
Little Blue Plane Web Design | Blood, Sweat & Rust - A Land Rover restoration project

(in reply to Nicole)
Nicole

 

Posts: 2843
Joined: 9/15/2004
From: Nambucca / Kempsey, Australia
Status: offline

 
RE: CSS popups - 5/25/2006 6:37:41   
Hi Tail,

It's the same page I've been working on a while:

http://www.users.on.net/~nicoleoz/index.htm

except that I've removed the image and compliance notes under the menu and moved them to the footer. I haven't uploaded it as yet as i may not go with it, and by not uploading it I can easily get my code back.

Nicole

_____________________________

:)

(in reply to Tailslide)
Tailslide

 

Posts: 6126
Joined: 5/10/2005
From: Out here on the raggedy edge
Status: online

 
RE: CSS popups - 5/25/2006 7:04:40   
Me no see no popups...

_____________________________

"My strategy is so simple an idiot could have devised it"
Little Blue Plane Web Design | Blood, Sweat & Rust - A Land Rover restoration project

(in reply to Nicole)
Nicole

 

Posts: 2843
Joined: 9/15/2004
From: Nambucca / Kempsey, Australia
Status: offline

 
RE: CSS popups - 5/25/2006 7:41:57   
They're not there, I haven't uploaded it to the site yet.

Just thought there might be an easy way to tell whether they'd work or not.

_____________________________

:)

(in reply to Tailslide)
caz

 

Posts: 3552
Joined: 10/10/2001
From: Somewhere south of Chester, UK
Status: offline

 
RE: CSS popups - 5/25/2006 7:43:17   
I don't either but you may find tutorial by Stu Nicholls useful for positioning the popup. It is about an image map which when hovered over displays boxed text positioned where you want them, I have used it and I know that the positioning was really by trial and error.

I noticed that he also has some popup examples on his main site too.

_____________________________

Do not meddle in the affairs of cats, for they are subtle and will dance, or more on your keyboard.
Cheshire cat. www.doracat.co.uk

I remember when it took less than 4hrs to fly across the Atlantic.

(in reply to Tailslide)
caz

 

Posts: 3552
Joined: 10/10/2001
From: Somewhere south of Chester, UK
Status: offline

 
RE: CSS popups - 5/25/2006 7:55:59   
Cross posted there :) Try preview in browser?
What I usually do is make copies of the page and the stylesheet to experiment on then you can use them or not.

_____________________________

Do not meddle in the affairs of cats, for they are subtle and will dance, or more on your keyboard.
Cheshire cat. www.doracat.co.uk

I remember when it took less than 4hrs to fly across the Atlantic.

(in reply to caz)
Nicole

 

Posts: 2843
Joined: 9/15/2004
From: Nambucca / Kempsey, Australia
Status: offline

 
RE: CSS popups - 5/26/2006 3:14:04   
Thanks Tail & Caz,

Well it's taken me most of the day but I think I've nailed it! Please take a look.

http://www.users.on.net/~nicoleoz/index.htm

I've tested it in Firefox, Opera, Mozilla, Netscape and IE and tried it with different text sizes and it seems to be holding okay. Please let me know if it breaks on any of your computers/browsers etc.

Next question: What do you think of this idea? Is it a bit distracting or is it useful to help show where a link will be taking you to? Also, I haven't tried yet, but I'm going to try and position my avatar just under the text, will probably have to work out how long the longest text is first, but will try after that. And I guess it will depend on how much the text is likely to be resized.

Nicole

_____________________________

:)

(in reply to caz)
Tailslide

 

Posts: 6126
Joined: 5/10/2005
From: Out here on the raggedy edge
Status: online

 
RE: CSS popups - 5/26/2006 3:21:34   
Haven't done a lot of testing on it but I think it looks good - not distracting at all.

The layout itself has "issues" in IE5 btw..

_____________________________

"My strategy is so simple an idiot could have devised it"
Little Blue Plane Web Design | Blood, Sweat & Rust - A Land Rover restoration project

(in reply to Nicole)
Nicole

 

Posts: 2843
Joined: 9/15/2004
From: Nambucca / Kempsey, Australia
Status: offline

 
RE: CSS popups - 5/26/2006 3:27:37   
Oh?

I'll have to take a look, don't have IE 5 though, will have to look at one of those browser cam type sites. Thanks for letting me know, I checked all of the browsers I could yesterday and everything was great.

_____________________________

:)

(in reply to Tailslide)
Tailslide

 

Posts: 6126
Joined: 5/10/2005
From: Out here on the raggedy edge
Status: online

 
RE: CSS popups - 5/26/2006 4:28:03   
just having a really quick look I'd say it's because you need to centre the design for IE5/5.5 using text-align:center in your body element. I think that will sort it.

_____________________________

"My strategy is so simple an idiot could have devised it"
Little Blue Plane Web Design | Blood, Sweat & Rust - A Land Rover restoration project

(in reply to Nicole)
Nicole

 

Posts: 2843
Joined: 9/15/2004
From: Nambucca / Kempsey, Australia
Status: offline

 
RE: CSS popups - 5/26/2006 4:30:21   
Hmmmm!

The browser screenshot sites I have don't have IE5, all are either solely for Safari or the only one with more than mac browsers only has IE 6 and 7. Is there a way besides having IE 5 installed on a computer to test my sites for this browser version?

I also had some errors in my html and css which I've now fixed, perhaps that was the problem?

Nicole

_____________________________

:)

(in reply to Nicole)
Nicole

 

Posts: 2843
Joined: 9/15/2004
From: Nambucca / Kempsey, Australia
Status: offline

 
RE: CSS popups - 5/26/2006 5:00:20   
quote:

just having a really quick look I'd say it's because you need to centre the design for IE5/5.5 using text-align:center in your body element. I think that will sort it.


Thanks Tail,

I've just done that but have no way that i know of to check if it worked. Can you check please when you have time?

Thanks

Nicole

_____________________________

:)

(in reply to Tailslide)
Tailslide

 

Posts: 6126
Joined: 5/10/2005
From: Out here on the raggedy edge
Status: online

 
RE: CSS popups - 5/26/2006 5:22:14   
Working fine in IE5.5 - popups and everything.

In IE5 the layout's fine now but no popups (didn't expect them to be honest!).

_____________________________

"My strategy is so simple an idiot could have devised it"
Little Blue Plane Web Design | Blood, Sweat & Rust - A Land Rover restoration project

(in reply to Nicole)
Page:   [1]

All Forums >> Web Development >> Cascading Style Sheets >> CSS popups
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts