Posted by garga on January 5, 2012 at 10:43pm
2 followers
Jump to:
| Project: | Curlypage |
| Version: | 6.x-3.7 |
| Component: | Miscellaneous |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
Hello get, the following error. Curlypage therefore not displayed. Are there any remedy?
Here is the error in Firebug
Uncaught ReferenceError: curlypages is not defined
<script type="text/javascript">
<!--//--><![CDATA[//><!--
curlypage_flag_swf = '/sites/all/modules/curlypage/curlypage/flag.swf';
curlypage_peel_swf = '/sites/all/modules/curlypage/curlypage/turn.swf';
curlypage_flash_version = '9.0.0';
curlypage_getflashplayer = 1;
curlypages['topright'] = new Array();
curlypage_vars = {
cpid: "1",
flag_style: "style1",
peel_style: "style1",
peel_position: "topright",
peel_position_model: "absolute",
wait_enable: "0",
wait_url: "/sites/all/modules/curlypage/curlypage/wait.gif",
wait_width: "42",
wait_height: "42",
flag_width: "100",
flag_height: "100",
peel_width: "500",
peel_height: "500",
small_url: "%2Fsites%2Fall%2Fmodules%2Fcurlypage%2Fcurlypage%2Fsmall.jpg",
big_url: "%2Fsites%2Fall%2Fmodules%2Fcurlypage%2Fcurlypage%2Fbig.jpg",
mirror: "1",
in_transition: "none",
transition_duration: "4",
peel_color_style: "gradient",
peel_color: "custom",
red_value: "255",
green_value: "255",
blue_value: "255",
link_enabled: "1",
link_target: "_blank",
link: "http%3A%2F%2Fwww.drupal.org%2F",
load_sound_url: "",
open_sound_url: "",
close_sound_url: "",
flag_speed: "4",
peel_speed: "4",
automatic_open: "0",
automatic_close: "0",
open_onclick: "0",
close_button_enable: "0",
text_on_close_button: "close",
close_red_value: "100",
close_green_value: "100",
close_blue_value: "100",
delay: "0",
time_slot: "0",
repeat_times: "1",
tracking: "0"
};
curlypage = new Curlypage(curlypage_vars);
curlypages['topright'].push(curlypage);
$(document).ready(function() { curlypage_write_curlypages(); });
//--><!]]>
</script>
Comments
#1
I would need a link to the problem to try to help. That error indicates that curlypage.js is not being loaded but I can't know why without seeing the page. Most probable javascript errors before not related to curlypage.