on load script doesn't run?
Louis LaBrunda <[email protected]>
| Newsgroups | gmane.comp.lang.smalltalk.squeak.seaside |
|---|---|
| Organization | Keystone Software Corp. |
| Message-ID | <[email protected]> |
Hi All,
I'm running a Squeak/Seaside program on a Raspberry Pi. I'm trying to age a little javascript
to run on load. I have ids set at the beginning of some tables like 'Pin13'. When I generate
an anchor with #jumpSpot set to 'Pin13' and the on load script with the this code:
html anchor url: 'javascript:void(0)'; onClick: 'document.getElementById("', jumpSpot,
'").scrollIntoView(true)'; with: 'Jump to Spot'.
html document addLoadScriptFirst: 'document.getElementById(''', jumpSpot,
''').scrollIntoView(true)'.
clicking on the anchor works but the on load script doesn't seem to run. What an I doing
wrong?
Lou
--
Louis LaBrunda
Keystone Software Corp.
SkypeMe callto://PhotonDemon
_______________________________________________
seaside mailing list
[email protected]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside