Viewing Advice for Loginradius
Advice for Loginradius
|
User: Guest 12 years ago
|
|
|
Hi, can anyone help me to set this up. I've set up all the information and configured facebook etc... I have been given the script by loginradius and it say's to copy part of the script into the (head) code and part of the script into the (Body) code. I'm pretty sure I know where the head code is (this is above the footer code box) By body code is this the HTML widget. If this is the case I have completed both of these steps correctly but nothing is happening. Could it be because I already have some code in the header box.....do I need to somehow differentiate between the two pieces of code. The first piece of code in the header is a piece of Jscript and the second piece of code is the loginradius code? Any help much appreciated! Thanks, John <!-- s:mrgreen: --><img src="{SMILIES_PATH}/icon_mrgreen.gif" alt=":mrgreen:" title="Mr. Green" /><!-- s:mrgreen: --> |
|
| Edit | |
|
User: pumpkin 12 years ago
|
|
|
Have you published your page yet (not into a folder, but on the web)?
------------------------------- Darian new to web design ______________________ My websites: <b>Vocal Affairs</b> // <b>Singkehlchen</b> |
|
|
User: Roddy 12 years ago
|
|
|
I would imagine that LoginRadius has given you two pieces of code? One will be some HTML enclosed in div tags like this <div></div>. Copy this and paste it into an HTML Snippet. The other will be some javascript enclosed in <script></script> Paste this into either the page head code box or, preferably, into the footer code box. Publish the page to the server to test. ------------------------------- 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. |
|
|
User: Guest 12 years ago
|
|
|
Thanks for the advice. I've only tried publishing to a folder so perhaps that's why it not working. Can you tell me what the head code boxes and footer code boxs are for and why it's preferable to use the footer? Thanks, John <!-- s:? --><img src="{SMILIES_PATH}/icon_e_confused.gif" alt=":?" title="Confused" /><!-- s:? --> |
|
| Edit | |
|
User: Roddy 12 years ago
|
|
|
Although you don't need to understand anything about code to create a website with EasyWeb you will create a far better one if you take some time to learn the basics. An HTML document has a <head> and a <body>. In general, <head> content is not seen and provides both information about the doc and links to supporting scripts. Items such as the doctype, title, content type, meta data and links to supporting scripts such as CSS and, sometimes, javascript go into the <head> in order of importance. The <body> of the doc contains the code which produces what the visitor sees - the HTML and supporting javascript. In general, links to scripts that are required for the page as a whole are placed first and in the <head>. These would be links to CSS mainly and perhaps to jQuery if major items such as navigation menu dependent on it. If you have a project that requires CSS enclosed in <style> tags, some HTML and some setup javascript you would place them like this... CSS in the Head Code box HTML in a snippet Javascript in the Footer Code box A lot of project instructions will encourage you to put javascript in the <head>. You can just as easily put it in the Footer Code box or even in the HTML Snippet. It's all a matter of common sense and using your experience to determine the best order of data for the fastest loading web page. I tend to put all javascript in the footer except in circumstances where this would interfere with the page load. I want all the basic text, styles and images to load before the whistles and bells. Most people tend to put the javascript for Google Analytics in the <head> because Google says so. I always put it in the footer code because I want the page content that the visitor sees to load before some unseen data is recorded. It's important to realize that the browser loads the info contained in an HTML doc in the order in which it is placed. One "mistake" that I see drag and droppers making through ignorance is having objects load out of order. Here's a typical example. Suppose I create my page content with all the items in the correct order from top to bottom. Then decide that the page is so wonderful that I want to add a photo of myself so that the world will know the great genius who created it. I lengthen the page and add the image. Then I decide that I look so handsome and clever that the photo should really be at the top of the page in case anybody misses it. I drag all the content down the page and my image to the top thinking that even fleeting visitors will at least see wonderful me. Unfortunately, the photo loads last because, although I dragged it to the top, the HTML is still last in the doc. ------------------------------- 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. |
|
|
User: Christopher 12 years ago
|
|
|
Good tutorial.
------------------------------- rMBP 15", 2.6 Ghz, 16 GB RAM, OS X 10.11.6, with 27" Thunderbolt Cinema Display www.cleetche.com |
|
|
User: Guest 12 years ago
|
|
| Thanks Roddy....I'm learning slowly. :) | |
| Edit | |
|
User: Guest 12 years ago
|
|
| Oh BTW....I got this to work! Struggling a bit with FTP as don't exactly know which docs to drag from my local to the remote. I dragged my whole Easyweb folder across and encountered sme problems but the guys at hostgator managed to correct the file paths for me. <!-- s:oops: --><img src="{SMILIES_PATH}/icon_redface.gif" alt=":oops:" title="Embarrassed" /><!-- s:oops: --> | |
| Edit | |
| Post Reply |
| You must login or signup to post. |
