Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
changing flash image with a style sheet.
Old 11-24-2006, 06:41 PM changing flash image with a style sheet.
jason_bristol's Avatar
Ultra Talker

Latest Blog Post:
New site - ConnectFrench.com
Posts: 312
Name: Jason Eyermann
Location: england bristol
Trades: 0
I have a button on my site that changes the style sheet. It changes everything pink.

You can view it on Mintinit.com You need to push the image of the girl on the right side.
The only problem is that I need to swop the flash image over. Does anyone know of how i could do this.




Also if anyone has IE6 could you please check if my liquid css styled site works as i can't check as i have a mac. It looks ok on a browser cam. but i can't tell if it works ok from that.

thanks.
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
jason_bristol is offline
Reply With Quote
View Public Profile Visit jason_bristol's homepage!
 
 
Register now for full access!
Old 11-24-2006, 06:51 PM Re: changing flash image with a style sheet.
Mooofasa's Avatar
Defies a Status

Posts: 1,611
Name: Michael (mik) Land
Location: England
Trades: 0
In FF2, everything works fine (other than the overlap in the header which isn't a direct problem). However in IE6 you have one big problem.

When the gender is changed, the centre column gets pushed underneath the right column. The fluid layout is fine though.

Another issue you have is that when the user chooses the option to change the scheme based on gender (sexist btw) the settings are not stored (as a session), so the default theme reverts.

I gather you have used Javascript for this (although possible with PHP) so simply apply a function that works similar to the stylesheet changer, but changes the flash app instead (finding an element/attribute within the flash image and replacing it with alternate flash image).
__________________

Please login or register to view this content. Registration is FREE
- Tumblog with thoughts, quotes, links, videos, images and my creations.

Please login or register to view this content. Registration is FREE
- The best free web browser.

Please login or register to view this content. Registration is FREE
- Firefox is now Firefail.
Mooofasa is offline
Reply With Quote
View Public Profile Visit Mooofasa's homepage!
 
Old 11-25-2006, 06:01 PM Re: changing flash image with a style sheet.
jason_bristol's Avatar
Ultra Talker

Latest Blog Post:
New site - ConnectFrench.com
Posts: 312
Name: Jason Eyermann
Location: england bristol
Trades: 0
Thanks for the reply mooofasa. I have sorted the problem with remembering the style sheet with a cookie.

I realised that the last javascript cut out my IE hack style sheet when the female was pushed. I've changed the the javascript. Do you think you or someone else try it again please. thanks.

I'm still not sure how to change the flash. still thinking on that one???
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
jason_bristol is offline
Reply With Quote
View Public Profile Visit jason_bristol's homepage!
 
Old 11-25-2006, 06:11 PM Re: changing flash image with a style sheet.
Mooofasa's Avatar
Defies a Status

Posts: 1,611
Name: Michael (mik) Land
Location: England
Trades: 0
It works fine in IE now. However, you now have a new problem. When the page is loaded, no styles are set.

If you used PHP to change the stylesheet, then changing the flash would have been easier, as you could have used a conditional to test the current stylesheet (based on the previous script) and run the appropriate flash app.
__________________

Please login or register to view this content. Registration is FREE
- Tumblog with thoughts, quotes, links, videos, images and my creations.

Please login or register to view this content. Registration is FREE
- The best free web browser.

Please login or register to view this content. Registration is FREE
- Firefox is now Firefail.
Mooofasa is offline
Reply With Quote
View Public Profile Visit Mooofasa's homepage!
 
Old 11-26-2006, 10:53 AM Re: changing flash image with a style sheet.
jason_bristol's Avatar
Ultra Talker

Latest Blog Post:
New site - ConnectFrench.com
Posts: 312
Name: Jason Eyermann
Location: england bristol
Trades: 0
I've sorted the flash issue now. cheers
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
jason_bristol is offline
Reply With Quote
View Public Profile Visit jason_bristol's homepage!
 
Reply     « Reply to changing flash image with a style sheet.
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 1.03843 seconds with 12 queries