Change the appearance of a javascript button

  • 0
  • 1
  • Question
  • Updated 3 years ago
  • Answered

I created a URL button that makes my task recurrent. Now I would like to change the appearance of this button. This is what I did, now button looks like I want it to look, but a window with recurrence settings doesn't pop up. Please advise.

"<a class='Vibrant Primary' window.open='" & URLRoot() &"db/7mztyxu6" & "?a=dbpage&dbid=" & Dbid() &"&rid=" & [Record ID#] & "&datefid=11" & "&pagename=recurring.html','recurring','top=240,left=320,width=400,height=150,location=no,menubar=no,toolbar=no' href='#'>Make recurring</a>"   

And this is the original URL link:

"javascript:void(window.open('" & URLRoot() &"db/7mztyxu6" & "?a=dbpage&dbid=" & Dbid() &"&rid=" & [Record ID#] & "&datefid=11" & "&pagename=recurring.html','recurring','top=240,left=320,width=400,height=150,location=no,menubar=no,toolbar=no'))"

Photo of Polina

Polina

  • 0 Points

Posted 3 years ago

  • 0
  • 1
Photo of Polina

Polina

  • 0 Points
Working now!

"<a class=\"Vibrant Primary\" href=\"javascript:void" & "(window.open('" & URLRoot() &"db/7mztyxu6" & "?a=dbpage&dbid=" & Dbid() &"&rid=" & [Record ID#] & "&datefid=11" & "&pagename=recurring.html','recurring','top=240,left=320,width=400,height=150,location=no,menubar=no,toolbar=no'))" & "\">Make recurring</a>"