Welcome Guest. Please Login or Register  


You are here: Index > SitePad Website Builder > General Support > Topic : Java Script/Toggle Button



Threaded Mode | Print  

 Java Script/Toggle Button (1 Replies, Read 2024 times)
bensitepad2
Group: Member
Post Group: Newbie
Posts: 1
Status:
Is there a way to somehow include java script code for the site, or just HTML and CSS.

If Java can't be included, any way I can implement a button that toggles my logo appearing and disappearing using just HTML and CSS? I currently have something but when I hold down the button, nothing happens. I also tried adding in a background:white to the CSS to see if the button was working and it wouldn't change colors. The code works in codepen so I feel this might be a sitepad issue somehow.


https ://codepen.io/anon/pen/bMpxBE
^To see the code. The CSS is imported through the dashboard and the html in a rich text box.
IP: --   

Java Script/Toggle Button
alpeshd
Group: Member
Post Group: Newbie
Posts: 19
Status:
Hi,

You can add HTML , JavaScript using the "Embed" available in the SitePad Editor.

And your provided code is working fine with SitePad. Add HTML code in the text tab of RichText widget and you css through the custom css or custom HTML option.

To know how to add Custom HTML please follow the given link
http://sitepad.com/wiki/Add_CSS_using_Custom_HTML
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is April 19, 2024, 11:58 pm.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 11  |  Page Created In:0.020