Viewing data-linkuuid

data-linkuuid



User: Roddy 9 years ago
I had an email from an EverWeb user to let me know about a widget not working.

It seems that EverWeb V2.0.1b is inserting the data-linkuuid into javascript which breaks it.

Here's what it should look like...

<script type="text/javascript">
function openColorBox(){
$.colorbox({iframe:true, width:"500", height:"340", href: "overlay-content.html"});}
setTimeout(openColorBox, 5000);</script>


.. and here's what we get...

<script type="text/javascript">
function openColorBox(){
$.colorbox({iframe:true, width:"500", height:"340", href: "overlay-content.html" data-linkuuid="15DA2DEE84D34F3398839909E00CD77B"});}
setTimeout(openColorBox, 5000);</script>


The browser warnign is ...

Unexpected identifier 'data'. Expected '}' to end an object

I suppose this is going to happen in any widget with a file path inside javascript?

-------------------------------
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: Paul-RAGESW 9 years ago
Hi Roddy,

I'm not sure, can you send the widget that you are having issues with so I can test it here...

-------------------------------
Paul
EverWeb Developer
User: Roddy 9 years ago
I have created a new redirect widget and a demo project file to show how it works. Anybody who needs this to replace the original should contact me.

-------------------------------
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.