The script below will run on a Mac, under Windows XP but not under Windows 7...
anyone able to tell me why not ?
on openCard
/* set the rect of the image on which to overlay revBrowser */
set the rect of image "browserimage" to 0, 0 & "," & (the width of this
stack) & "," & (the height of this stack -16 )
/* get the path to the html file */
put the defaultFolder & "/mapFolder/map.html" into adJustWindows
/* replace the spaces, if there are any, in the URL filepath */
replace space with "%20" in adjustWindows
/* set up the browser instance */
put revBrowserOpen (the windowId of this stack, "file://" & adjustWindows)
into browserID
revBrowserSet browserID, "rect",rect of image "browserimage"
revBrowserSet browserID, "scrollbars", false
revBrowserSet browserID, "showborder", true
end openCard
Just get a blank revBrowser under WIndows 7
Dixie
_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode