Apparently there is a 255 character limit to any string entered at Web Properties > Link > Link to web address. That's a problem for me.
I'm working with the locking popups right now. I have twelve buttons in a column at the left of the page. To the right of this navsystem there are twelve precisely overlapping popup layers, each to be stimulated by its corresponding button. This is the line of javascript that I've entered into the Link to web address field to activate a locked popup layer (here, the fourth layer is stimulated):
Code:
javascript:my_close('01');javascript:my_close('02');javascript:my_close('03');javascript:my_open('04');javascript:my_close('05');javascript:my_close('06');javascript:my_close('07');javascript:my_close('08');javascript:my_close('09');javascript:my_close('10');javascript:my_close('11');javascript:my_close('12')
There are 310 characters in this string. Previewing the developed solution resulted in a browser error message. Reviewing the javascript string to find my error, I noted that each of my Web Properties > Link > Link to web address strings had been truncated to 255 characters:
Code:
javascript:my_close('01');javascript:my_close('02');javascript:my_close('03');javascript:my_open('04');javascript:my_close('05');javascript:my_close('06');javascript:my_close('07');javascript:my_close('08');javascript:my_close('09');javascript:my_close('1
So, what might be a sensible fix? Might there be the option of modifying the my_close() and the my_open() javascript functions so that they can be passed multiple arguments?
Code:
javascript:my_close('01,02,03,05,06,07,08,09,10,11,12');javascript:my_open('04')
Thanks.
Bookmarks