Viewing Tumult's Hype in EasyWeb?
Tumult's Hype in EasyWeb?
|
User: pumpkin 12 years ago
|
|
|
[quote="Roddy":jncra6oh]What do you mean by "I can only assign ONE location for the resources"?[/quote:jncra6oh] In the HTML: <div id="banner_hype_container" style="position:relative;overflow:hidden;width:980px;height:200px;"> <script type="text/javascript" charset="utf-8" src="banner.hyperesources/banner_hype_generated_script.js?30749"></script> </div> That's the only part where I can point the html to the resources folder. ------------------------------- Darian new to web design ______________________ My websites: <b>Vocal Affairs</b> // <b>Singkehlchen</b> |
|
|
User: Roddy 12 years ago
|
|
|
That's all you need. Drag the banner_hype_generated_script.js?30749 into assets along with the images. Open the js file and change the image paths as I mentioned above. ------------------------------- 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: pumpkin 12 years ago
|
|
|
I'll try that tomorrow Roddy. Even if it works, I'd prefer an easier way ;)
------------------------------- Darian new to web design ______________________ My websites: <b>Vocal Affairs</b> // <b>Singkehlchen</b> |
|
|
User: Roddy 12 years ago
|
|
|
The easier way is to be able to just drag in the folder. Let's hope the developers solve the problem quickly!
------------------------------- 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: pumpkin 12 years ago
|
|
|
True. Anyway, what's the path to reach the external files? I know that I can point to the images by using http://www.domainname.com/images/page-name/banner1.jpg But how can I access the external files? I need to change the url in the javascript file to point to the location: (function HYPE_DocumentLoader() { var resourcesFolderName = "banner.hyperesources"; var documentName = "banner"; var documentLoaderFilename = "banner_hype_generated_script.js"; var mainContainerID = "banner_hype_container"; ... because later the scripts asks to run hype.js file, which is in the same folder: var headElement = document.getElementsByTagName('head')[0]; var scriptElement = document.createElement('script'); scriptElement.type= 'text/javascript'; scriptElement.src = resourcesFolderName + '/' + 'HYPE.js?hype_version=160'; headElement.appendChild(scriptElement); ------------------------------- Darian new to web design ______________________ My websites: <b>Vocal Affairs</b> // <b>Singkehlchen</b> |
|
|
User: Paul-RAGESW 12 years ago
|
|
|
It's; http://www.domainname.com/ewExternalFiles/filename.ext ------------------------------- Paul EverWeb Developer |
|
|
User: pumpkin 12 years ago
|
|
|
Thanks Paul, I've put the two *.js file in the assets list and uploaded the site: I don't see the files when I check online though: ------------------------------- Darian new to web design ______________________ My websites: <b>Vocal Affairs</b> // <b>Singkehlchen</b> |
|
|
ew.png online.png |
|
|
User: Roddy 12 years ago
|
|
|
You have to actually reference them in the page HTML before EW will put them in the ewExternalFiles folder.
------------------------------- 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: pumpkin 12 years ago
|
|
|
Right, and how do I do that? I expected it to work like with pictures. Drag ... drop into the assets folder, done. Wonder why it's different with external files...
------------------------------- Darian new to web design ______________________ My websites: <b>Vocal Affairs</b> // <b>Singkehlchen</b> |
|
|
User: Roddy 12 years ago
|
|
|
I've never actually tried this but I don't see why it wouldn't work. Its a question of fooling EasyWeb into uploading the files in the ewExternalFiles folder and then taking advantage of the fact that it can't, at this point anyway, delete redundant files on the server. Paste this into the page head code box... <script src="{!-ASSETSPATH-!}External%20Files/HYPE.js"" type="text/javascript"></script>Now publish the site to the EW server. Enter the URL for the ewExternalFiles into the browser... http://www.singkehlchen.de/ewExternalFiles/HYPE.js ... to make sure the files have been uploaded. If all is well, you can now delete the code from the Head Code box and use absolute paths to the files on the server like... http://www.singkehlchen.de/ewExternalFiles/banner_hype_generated_script.js and http://www.singkehlchen.de/ewExternalFiles/HYPE.js ------------------------------- 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: pumpkin 12 years ago
|
|
|
Jeez, that's becoming too complicated and annoying. I give up and use my old webspace to upload the resources folder via ftp. At least the banner will work until april '14.
------------------------------- Darian new to web design ______________________ My websites: <b>Vocal Affairs</b> // <b>Singkehlchen</b> |
|
| Post Reply |
| You must login or signup to post. |
