Recent Widgets


Register for DashboardWidgets

Recent Forums Posts

Partners


iCompositions

MacDesktops.net

RSS Showcase
RSS Comments
RSS Forums

This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies. Posted in: Widget Development

Have issues with clickonlink

Author Message
jdmmade



Joined: 07 Apr 2007
Posts: 3

Posted: Sat Apr 07, 2007 - 1:36 am    Post subject: Have issues with clickonlink Reply with quote

I am trying to get my button to go to a website using a glassbutton and i posted the code, where should I type the link or url so that once its clicked it will go to the website, please help.


Code:

function clickOnLink()
{
   if (window.widget) {
      widget.openURL(this.href);
      return false;
   }
}
Code:
View user's profile Send private message Send e-mail Widgets
JayHD



Joined: 06 Apr 2007
Posts: 15

Posted: Sat Apr 07, 2007 - 4:33 am    Post subject: Reply with quote

replace this.href with your url

Code:
function clickOnLink()
{
   if (window.widget) {
      widget.openURL("http://www.dashboardwidgets.com");
      return false;
   }
}
View user's profile Send private message Send e-mail Widgets
jdmmade



Joined: 07 Apr 2007
Posts: 3

Posted: Sat Apr 07, 2007 - 6:39 am    Post subject: Reply with quote

hmm I've tried that, doesnt seem to respond.
View user's profile Send private message Send e-mail Widgets
jdmmade



Joined: 07 Apr 2007
Posts: 3

Posted: Sat Apr 07, 2007 - 1:44 pm    Post subject: Reply with quote

issue has been resolved!!! Very Happy
View user's profile Send private message Send e-mail Widgets
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.

 
Powered by phpBB © 2001, 2002 phpBB Group