PDA

View Full Version : Dom


eldix
01-31-2008, 01:20 PM
not really anything to do with flash interaction, but since i mainly use flash, this community is the first turn for me. :)

having problem with one particular page.
I have a page that contains a menu and a js drop drop menu within. This is because things keep being added to it, so menu changes.
I thought about doing it in flash, but the transparent thingie doesn't really work that well, especially if the html div under has a <a ref> link is disabled.

in firefox works. but hey, explorer throws out all the rules... opaque div, scrolls. a nightmare. I develop in Mac, being a graphic designer, and PC testing is a cumbersome affair.

please try following link in firefox and explorer:
http://www.derekdixon.homechoice.co.uk/cyclefit/template_newmenu.html

http://www.derekdixon.homechoice.co.uk/cyclefit/ is a public folder if you need to download stuff from it.

thanks

jsebrech
01-31-2008, 02:48 PM
I notice you're embedding the content as <object>. Explorer doesn't like that (I suggest you use an iframe). Explorer also doesn't like windows (objects and frames are windows) with transparent background. You can use dx filters to make the background of a window transparent (basically, you blend it with the content of the window below it). See this thread:
http://www.codingforums.com/showthread.php?t=64422

Beware of messing with this stuff, there be dragons. If you can, you should place all your content in a single html page. Waaaaay easier.

eldix
01-31-2008, 02:53 PM
thanks jsebrech. i'll definetly have a look at that. shame explorer doesn't like <object> as seem a great way to bring stuff into a page.
Having everything in one page would be easier, but they keep adding things to the menu, the drop down menu... its a nightmare, as the web is already out of control in the number of pages they have created.
Any suggestions on how to include a external menu with drop downs so it can be updated in just one place?
Object seem to solve my problems... until tested in explorer.

eldix
01-31-2008, 03:19 PM
sweet!
iframe seems to almost do the job... needs adjusting.

http://www.derekdixon.homechoice.co.uk/cyclefit2/template_newmenu.html

just aslight problem withthe lot moved donw 6/7 in comaparison to firefox. A small problem, but i'll be able to work around it.

jsebrech
02-01-2008, 10:56 AM
This is generally where scripting comes in. Your script can auto-generate a menu based on a configuration file. Whether that script would be javascript or something server-side (like php or asp) depends on your skills.

eldix
02-01-2008, 11:10 AM
my scripting skills are close to none, learning everyday. Feel comfortable is basic actionscript, html, css and done things in javascript (more and more I find), but nothing is php or asp yet.
thanks for the tips. The iframe works fine for the moment, and will solve the problem i'm facing with this particular site.
Next project will look at different options, and every new project I do, something new i learn and can be added to next.