gus
Posts: 306
Location: United Kingdom
Registered: 19 Jun 2007
|
HTML question
Posted: 30 Apr 2008 at 8:18 GMT
|
reply
|
I have a quick HTML question. How do I imbed an image on a page so that it's static over a pano. I've tried inserting an image in Dreamweaver, but it pushes the pano window down, whereas I want the logo to be inside the pano window.
gus
|
|
alert moderator
|
|
Hans Nyberg
Posts: 620
Location: Denmark
Registered: 28 Aug 2005
|
Re: HTML question
Posted: 30 Apr 2008 at 9:51 GMT
|
reply
|
If you are talking about a flash FPP panorama you just ad it to the xml.
Hans
|
|
alert moderator
|
|
michael medina
Posts: 155
Location: United States
Registered: 27 Jan 2008
|
Re: HTML question
Posted: 30 Apr 2008 at 17:28 GMT
|
reply
|
i haven't tried it, but elements take up space unless they are positioned absolutely using css. flash has the annoying feature of always being on top, so if for flash, do as Hans says. or you can change the 'wmode' to transparent (you'll have to google that one) wmode transparent isn't very nice to the cpu though. i'm not sure how quicktime behaves in this respect.
if you don't have a style sheet, you can add it to the html like so
<img style="position: absolute; top 50px; left: 50px;" src="images/logo.jpg">
if the logo isn't visible after doing this, you may have to put your movie into a div and also have it positioned absolutely and then specify a z-index for it. z-index: 1; is on top of z-index: 0;
hth mmm
|
|
alert moderator
|
|
gus
Posts: 306
Location: United Kingdom
Registered: 19 Jun 2007
|
Re: HTML question
Posted: 30 Apr 2008 at 18:35 GMT
|
reply
|
Hi Michael, Thanks for the info. I've tried it, but it places the logo behind the pano, I can see the sides sticking out. I'll wait for our programmer to come back from holiday and ask him to look at the z-index option. Regards gus
|
|
alert moderator
|
|
michael medina
Posts: 155
Location: United States
Registered: 27 Jan 2008
|
Re: HTML question
Posted: 30 Apr 2008 at 21:41 GMT
|
reply
|
michael medina said: <img style="position: absolute; top 50px; left: 50px; z-index: 1;" src="images/logo.jpg">
<div style="position: absolute; z-index: 0;">
pano html goes here
</div>"
here's the code for layering with z-indes. as i said if it's flash, it will ALWAYS be on top of everything on the page unless you change it's wmode. in that case do what Hans said.
positioning things absolutely is a great way to design as things will be in the same place with every browser, however it will more than likely re-arrange your page.
|
|
alert moderator
|
|