Cross-Browser WebDialog Development
-
I've learned just one thing, thus far. Hopefully others will add their .02s until this thread becomes valuable.
Thing 1: IE accepts:
row = table.insertRow(); cell = row.insertCell();
Don't do it! Always use the index parameter:
row = table.insertRow( 0 ); cell = row.insertCell( 0 );
And another tip of the hat to Opera's excellent error console for helping me track this down.
-
@martinrinehart said:
I've learned just one thing, thus far. Hopefully others will add their .02s until this thread becomes valuable.
Perhaps not entirely Cross-Browser but very definitely a pain in the arse in WebDialog Development that would no doubt benefit from your analytical skills:
Thing 2 - synchronization issue with web dialogs on Mac - see this post and its surrounding topic.
Look forward to your advice/findings.
Chris
-
@chrisglasier said:
Thing 2 - synchronization issue with web dialogs on Mac - see this post
Thanks much, Chris. From that found this from Fredo6:
http://forums.sketchucation.com/viewtopic.php?f=180&t=13394&p=101428&hilit=+safari#p98793
I did not have this problem, purely by dumb luck but I'll take luck over smarts any day. My JS calls Ruby and stops. Ruby's return call restarts JS, so it's synchronous, both platforms.
-
@martinrinehart said:
Ruby's return call restarts JS, so it's synchronous, both platforms.
Yes that's what I put forward here but no one confirmed it works. If you can do that or point out where it goes wrong I would be very grateful. I think this has to be a good basis for further promoting web dialogs.
My regards
Chris
-
Modal forms PC vs. Mac: http://forums.sketchucation.com/viewtopic.php?f=180&t=19537
-
@chrisglasier said:
@martinrinehart said:
Ruby's return call restarts JS, so it's synchronous, both platforms.
Yes that's what I put forward here but no one confirmed it works. If you can do that or point out where it goes wrong I would be very grateful. I think this has to be a good basis for further promoting web dialogs.
My regards
Chris
Sorry the correct link is further into the topic at http://forums.sketchucation.com/viewtopic.php?f=180&t=19932&st=0&sk=t&sd=a&start=15#p167428 which also includes attached download and explanation.
cg
-
Seen Fredo's thread on Mac Webdialogs? http://forums.sketchucation.com/viewtopic.php?f=180&t=13394
-
@thomthom said:
Seen Fredo's thread on Mac Webdialogs? http://forums.sketchucation.com/viewtopic.php?f=180&t=13394
Thanks, yes. That was in the first link. The second link was what I did about it.
Advertisement