Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Safari/Javascript Expressions



Hi,

I was wondering if Safari supports the following

<HTML>
<HEAD>
</HEAD>
<BODY>
<script>
var wdt = 20;
</script>
<HR wdt = "&{wdt};"></HR>
</BODY>
</HTML>

I tried in my Safari installation and it did not work. Is there some workaround to this problem ? I have a JSP that generates applet tags and giving width="100%" fails to load the applet. Hence I need some way to generate the height and widht based on client browser dimensions.

Any help will be appreciated.

Thanks,
Safari User

_________________________________________________________________
Add MSN 8 Internet Software to your current Internet access and enjoy patented spam control and more. Get two months FREE! http://join.msn.com/?page=dept/byoa
_______________________________________________
web-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/web-development
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.