Hi, everyone!

As I understand, javascipt will work only in text boxes. I've decided to add few new pages with javascript widgets "calorie calculators", but I can't add a text box to these new pages. I can only edit/add text to these new pages now, javascripts doesn't work there. Can you help me, please? 

Views: 149

Reply to This

Replies to This Discussion

Hey, Mike. A new Page is basically an empty container for HTML, so it doesn't include the ability to add individual modules. But, I think you can include Javascript on those pages, although you might need to wrap it in a div tag or something like that. 

Hi, Eric. Thanks for your reply.

I want to make a page with calorie calculator widget (javascipt). It's working in my text box, but I can't add it to my new page, so I have to do smth with my html container in new page. Can you tell me how can I wrap it to <div>?

Guys, I really need to know how can I add javascript to my new page? Any siggestions?

Hi Mike,

Try doing this:

<div>

Your javascript goes here

</div>

I've tried, but javascript doesn't work again.

Is this a widget that someone offers for you to install on a site?  Can you point me to the URL where they offer this widget? 

Hmmm. Okay, I did some more testing, and it seems to work for me. I downloaded the zip file, opened the HTML file in an HTML editor (I use Taco for Mac), and copied and pasted the full HTML file into a text box. I also tried it on a page, and it worked for me. It's not super pretty, but it works: 

Eric, it's just look like it's working. I did the same actions, but the formula of this calculator doesn't work. You can see it if you change numbers in tables. There is no reactions. This is a problem.

Gee, I hate to say it, but this is a third-party widget that I just can't troubleshoot. I'm hoping we can find someone that can, but I'm just not sure about this particular form.

RSS

Latest Activity

SM replied to SM's discussion 'How to Target the First Page of your Site with CSS'
"Hi Suzie, here is the code you need to put into your bottom custom code box in the design center…"
24 minutes ago
Kos replied to SM's discussion 'How to Target the First Page of your Site with CSS'
"ahhh now that makes sense.  Thanks for clarifying :)"
1 hour ago
Strumelia replied to FedMedic's discussion '3.0 Why is all my text centered?'
"Thanks so much, and please DO let me know what their support team is like, when you first make use…"
2 hours ago
SM replied to SM's discussion 'How to Target the First Page of your Site with CSS'
"Hi Suzie, I'll try to post something more logical with screen shots. But, you'll see -…"
2 hours ago
SM replied to SM's discussion 'How to Target the First Page of your Site with CSS'
"Hi Kos, the reason for the code is to have elements only display on the home page. By default, Ning…"
2 hours ago
soaringeagle replied to Phil McCluskey's discussion 'Introducing the Spam Folder'
"it seems a few of us have the same concerns/questions i can see a reason for secrecy as in you…"
2 hours ago
soaringeagle replied to Phil McCluskey's discussion 'Introducing the Spam Folder'
"this is wonderful news but can u define "content" does it include comments on…"
2 hours ago
FedMedic replied to FedMedic's discussion '3.0 Why is all my text centered?'
"Hi Strumelia! Thank you! I'm still working with various tools and toys and it's amazing!…"
3 hours ago

© 2013   Created by Ning.

Badges  |  Report an Issue  |  Terms of Service