Submit Your Article Webforumz RegistrationAnnouncements Contact Webforumz StaffContact
Home Resources Blogs Meet the Team Contact Register
 

Go Back   WebForumz.com > The Code > HTML, XHTML and CSS

Reply
 
LinkBack Thread Tools
Old July 31st, 2005, 07:57 AM   #1
New Member
 

Join Date: Jul 2005
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 wood_flower is on a distinguished road
How to make an element display above a dynamic content?

Hello everybody,

First of all, please take a look at an image here http://live-demo.your-mambo-hosting.com/LifeisGood.jpg

Basically, it is a static website. The only thing is that the picture of the sun needs to be changable with each reload of the site. I would like to use that area to have a rotating set of pictures and can also be used as an advertisement area.

But as the sun image there is not a rectangle image but a trapezium so i still don`t know how to make it changable. Is there anyway to make it rectangular in HTML template then have an element overlapping it so the trapezium shape will be in front of the rectangle like you can do with layers in Photoshop for instance?

Please help me. Thank you very much for your support.
wood_flower is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old July 31st, 2005, 02:23 PM   #2
WebForumz Admin Badge
 

Join Date: Jul 2003
Posts: 1,848
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 118 Webforumz Staff is on a distinguished road
The only sensible way to do this is simply to make the changeable image include part of the trapezium which holds your logo. Assuming all the changeable images have the same part on the left, then this will appear seamless in your design.

Even if you could float a div layer and achieve what you want with regards to the trapeziums, you would need for the one on top to be transparent.... it complicates things a great deal!
Webforumz Staff is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old July 31st, 2005, 10:49 PM   #3
New Member
 

Join Date: Jul 2005
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 wood_flower is on a distinguished road
Quote:
Originally Posted by Sirkent
Even if you could float a div layer and achieve what you want with regards to the trapeziums, you would need for the one on top to be transparent.... it complicates things a great deal!
Thank you very much. Your comment does help me a lot.
wood_flower is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old August 2nd, 2005, 11:20 PM   #4
Highly Reputable Member
 
herkalees's Avatar
 

Join Date: Jul 2005
Location: Massachusetts, USA
Age: 89
Posts: 563
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 herkalees will become famous soon enough herkalees will become famous soon enough
As Sirkent said, just edit each of your desired images in Photoshop to have that trapezium in the background, and the actual image layer above it has some sort of reduces opacity.

Here's a very valid and standards compliant way of making the random image script: http://photomatt.net/scripts/randomimage
herkalees is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old August 2nd, 2005, 11:42 PM   #5
New Member
 

Join Date: Jul 2005
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 wood_flower is on a distinguished road
Thank you very much. The script is really good.
wood_flower is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Bookmarks

Tags
element , display , above , dynamic , content


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating Dynamic Content deoxymonohydroxinate Your Design and Layout 1 February 16th, 2008 02:23 PM
Problems making the content area have a dynamic height blizeH HTML, XHTML and CSS 41 August 12th, 2007 09:19 PM
Floating Dynamic Content Xyis HTML, XHTML and CSS 2 July 19th, 2007 09:27 AM
Dynamic flv player with auto resize based on content waterox Flash and ActionScript 1 June 28th, 2007 10:25 AM
SE Friendly Dynamic Content davva JavaScript 14 September 14th, 2006 05:37 AM


Search Engine Optimization by vBSEO 3.2.0 RC8