PDA

View Full Version : Safari, flash, javascript, dhtml



luj
10-06-2007, 11:33 PM
1) Script Title: DHTML Window Widget 1.03

2) Script URL (on DD): http://dynamicdrive.com/dynamicindex8/dhtmlwindow/

3) Describe problem: Open external page in DHTML windov from flash via javascript in Safari

We use flash for display catalogs. In those catalogs are links to open your dhtml window with external content (Iframe)
http://hosting.richpaper.com/FullServiceHtml/emerch/catalogs/Newsletter0907/
is a sample.
Works fine, you the best. But safari...
nothing happens.
I put catalog in test environment and create little different data...
http://www.mravlje.com/te4.html
go to page 6
left link is normal encoded (I write script wich provide results).
right page is "safari what are you doing" encoded.
left link is:
http://www.my-catalog.at/showcatalog.asp?id=285390&clang=GER&pagenr=7
right link is:
http://www.my-catalog.at/showcatalog.asp_id=285390_lang=GER_pagenr=7
change & with _ (underscore)
Safari opens popup on right page, it does nothing on lef page. I mean absolutly nothing...
Any idea, why Safari dont resolve url address from javascript in flash when url contains & parameter=valuepart?
Anyone ever deal with this?
For now, only solution is to prepare new images with "non-standard" links, and then change underscores in your script (=300-400 hours extra work :eek: )

I found this one - It was Firefox on Mac, and problem was one of styles on loaded page - it hide the <div class="drag-handle">... huh...:(
Second is.. Safari 2x on Mac hide drag-handle bar after content is loaded???? (shall I play with explicit visibility:visible tag in css?)

Thanks for all help, Dusan