| Register | FAQ | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| |||
| |||
| I know this is a dumb question, and I have done this before, but I'm having a senior monment. I have text in a text box that I want to link to a javascript function when you click on the text. I have the javascript between the head tags, but I can't can't get the "text link" to work. Can anybody point me in the right direction? Thanks. |
|
#2
| |||
| |||
| Gary J. Piccoli said: | I know this is a dumb question, and I have done this before, but | I'm having a senior monment. | | I have text in a text box that I want to link to a javascript | function when you click on the text. I have the javascript between | the head tags, but I can't can't get the "text link" to work. | | Can anybody point me in the right direction? See attached gif -- Mike - (a.k.a. turtle) - gotFusion Extended Support For more helpful information visit http://www.gotfusion.com View the entire gotFusion tutorial list http://www.gotfusion.com/menu/tuts_by_topic.cfm -- |
|
#3
| |||
| |||
| Mike: That's what I thought. I tried this and did a local publish. The link is to a javascript fumction that is included between the head tags. When I click on the link I get an error "Line 1 Char 1 Object expected". The link is "javascript:BookMark()" and the function name is BookMark(). If I look in IE view source everthing looks okay. I can send a small template if that would help. Let me know. Thanks, Gary <gotFusion.com> wrote in message news:A921.1161112682.727@gfwebforum.com... > Gary J. Piccoli said: > > | I know this is a dumb question, and I have done this before, but > | I'm having a senior monment. > | > | I have text in a text box that I want to link to a javascript > | function when you click on the text. I have the javascript between > | the head tags, but I can't can't get the "text link" to work. > | > | Can anybody point me in the right direction? > > > See attached gif > > -- > Mike - (a.k.a. turtle) - gotFusion Extended Support > > For more helpful information visit > http://www.gotfusion.com > > View the entire gotFusion tutorial list > http://www.gotfusion.com/menu/tuts_by_topic.cfm > > -- > |
|
#4
| |||
| |||
| Upload your pages and script to server. "Add my URL to bookmarks" scripts call the URL from the server. That's why you can't see it work in Preview or Local Publish. --Nancy "Gary J. Piccoli" <gpiccoli@bellatlantic.net> wrote in message news:eh59ks$i932@flsun90netnews01.netobjects.com.. . > Mike: > > That's what I thought. I tried this and did a local publish. The link is to > a javascript fumction that is included between the head tags. When I click > on the link I get an error "Line 1 Char 1 Object expected". The link is > "javascript:BookMark()" and the function name is BookMark(). > If I look in IE view source everthing looks okay. I can send a small > template if that would help. Let me know. > Thanks, > Gary > <gotFusion.com> wrote in message news:A921.1161112682.727@gfwebforum.com... > > Gary J. Piccoli said: > > > > | I know this is a dumb question, and I have done this before, but > > | I'm having a senior monment. > > | > > | I have text in a text box that I want to link to a javascript > > | function when you click on the text. I have the javascript between > > | the head tags, but I can't can't get the "text link" to work. > > | > > | Can anybody point me in the right direction? > > > > > > See attached gif > > > > -- > > Mike - (a.k.a. turtle) - gotFusion Extended Support > > > > For more helpful information visit > > http://www.gotfusion.com > > > > View the entire gotFusion tutorial list > > http://www.gotfusion.com/menu/tuts_by_topic.cfm > > > > -- > > > > |
|
#5
| |||
| |||
| Thanks. "Nancy O" <nancyoshea1@NOSPAMverizon.net> wrote in message news:eh5lmc$jlc2@flsun90netnews01.netobjects.com.. . > Upload your pages and script to server. "Add my URL to bookmarks" scripts > call the URL from the server. That's why you can't see it work in Preview > or > Local Publish. > > --Nancy > > > "Gary J. Piccoli" <gpiccoli@bellatlantic.net> wrote in message > news:eh59ks$i932@flsun90netnews01.netobjects.com.. . >> Mike: >> >> That's what I thought. I tried this and did a local publish. The link is > to >> a javascript fumction that is included between the head tags. When I >> click >> on the link I get an error "Line 1 Char 1 Object expected". The link is >> "javascript:BookMark()" and the function name is BookMark(). >> If I look in IE view source everthing looks okay. I can send a small >> template if that would help. Let me know. >> Thanks, >> Gary >> <gotFusion.com> wrote in message > news:A921.1161112682.727@gfwebforum.com... >> > Gary J. Piccoli said: >> > >> > | I know this is a dumb question, and I have done this before, but >> > | I'm having a senior monment. >> > | >> > | I have text in a text box that I want to link to a javascript >> > | function when you click on the text. I have the javascript between >> > | the head tags, but I can't can't get the "text link" to work. >> > | >> > | Can anybody point me in the right direction? >> > >> > >> > See attached gif >> > >> > -- >> > Mike - (a.k.a. turtle) - gotFusion Extended Support >> > >> > For more helpful information visit >> > http://www.gotfusion.com >> > >> > View the entire gotFusion tutorial list >> > http://www.gotfusion.com/menu/tuts_by_topic.cfm >> > >> > -- >> > >> >> > > |
![]() |
| Thread Tools | |
| Display Modes | |
In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.