Viewing HTML snippet question
HTML snippet question
|
User: Boris K. 10 years ago
|
|
|
Is it possible to add multiple scripts into one HTML snippet widget? For example: a zopim chat bar, a jotform, and something like disable right mouse click all in one snippet textfield. The reason I ask this is because the html snippets are invisible in Everweb, so you have to search for the snippets and when you find them you don't know what what is unless you have remembered it or unless you press on the widget options where you can see it. But also can this improve the website speed since the webpage has to load only one snippet instead 3,4 or more snippets? Last edit 10 years ago |
|
|
User: Ozzy S. 10 years ago
|
|
|
I believe that it is possible to add multiple scripts into one HTML snippet widget (definitely in the Head and Footer code boxes). You could try and preview the page to see if it does work. I don't think that it would make a big difference at all in terms of website speed. If you put them all into separate HTML snippets, then you'd get two more lines of code (<div class="..." style="..."> and </div>). So, it would affect the speed, but I don't think it would be noticeable. I could be wrong about this, though. ------------------------------- Ozzy Simpson | Oznorts ------------------------------- EverWeb users get a 10% discount on our hosting services! Just use promo code EVERWEB10 to receive the discount! ------------------------------- Facebook | Twitter | Instagram |
|
|
User: Boris K. 10 years ago
|
|
|
Thanks it works. Just add all your scripts into one snippet and separate it with one line and it will work fine :) But it does not seem to be faster! |
|
|
User: Roddy 10 years ago
|
|
|
Quote: Just add all your scripts into one snippet This could be a recipe for disaster in some cases. Make sure you know what type of scripts go where in the HTML doc. Use an optimizer to process your files if you want your pages to download up to twice as fast. ------------------------------- Roddy Website: http://everwebwidgets.com Contact: http://everwebwidgets.com/ewWidgets-home/contact.html NOTE: I am an EverWeb user and NOT affiliated with EverWeb! Any opinions expressed in this forum are my own. |
|
| Post Reply |
| You must login or signup to post. |
