Lost my map on main page

  • richardfoster
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
6 years 3 months ago #1132 by richardfoster
Lost my map on main page was created by richardfoster
Once I did the recent update of the com and plugin I lost my map on my front page, dalehollowlake.cloudaccess.net on left side under the weather block. I had not changed anything in my module or component. ?? could you help.

Please Log in or Create an account to join the conversation.

More
6 years 3 months ago - 6 years 3 months ago #1133 by Dima
Replied by Dima on topic Lost my map on main page
Hi.

You install some capcha extension, which overrides onload function

this is code
function ff_resizepage(mode,value)
{var height=0;if(mode>0){for(var i=0;i<ff_elements.length;i++){if(mode==2||ff_elements[i][3]==ff_currentpage){e=document.getElementById(ff_elements[i][1]);if(e){h=e.offsetTop+e.offsetHeight;if(h>height)height=h;}}}}var totheight=height+value;if((mode==2&&totheight>ff_currentheight)||(mode!=2&&totheight!=ff_currentheight)){
document.getElementById('ff_formdiv2').style.height=totheight+'px';window.scrollTo(0,0);ff_currentheight=totheight;}}
onload=function()
{ff_initialize('formentry');ff_initialize('pageentry');ff_resizepage(1,400);if(ff_processor&&ff_processor.traceBuffer)ff_traceWindow();}
function ff_switchpage(page){if(document.getElementById("bfPage1"))document.getElementById("bfPage1").style.display="none";if(document.getElementById("bfPage2"))document.getElementById("bfPage2").style.display="none";if(document.getElementById("bfPage"+page))document.getElementById("bfPage"+page).style.display="";
ff_currentpage=page;ff_resizepage(1,400);ff_initialize("pageentry");}

You should contact with developer, may be they change initialization function.
When I read enough about jquery I'll use it for map initialization, and escape this problem

Don't forget support my developments: post review in JED , donate ;)

Post your sites as examples into my directory User's Sites for apropriate extension
Last edit: 6 years 3 months ago by Dima.

Please Log in or Create an account to join the conversation.

  • richardfoster
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
6 years 3 months ago #1135 by richardfoster
Replied by richardfoster on topic Lost my map on main page
I tried to take out the capcha, but it still did not show?

Please Log in or Create an account to join the conversation.

More
6 years 3 months ago #1136 by Dima
Replied by Dima on topic Lost my map on main page
Then it caused by the other plugin
function ff_resizepage(mode,value)
{var height=0;if(mode>0){for(var i=0;i<ff_elements.length;i++){if(mode==2||ff_elements[i][3]==ff_currentpage){e=document.getElementById(ff_elements[i][1]);if(e){h=e.offsetTop+e.offsetHeight;if(h>height)height=h;}}}}var totheight=height+value;if((mode==2&&totheight>ff_currentheight)||(mode!=2&&totheight!=ff_currentheight)){
document.getElementById('ff_formdiv2').style.height=totheight+'px';window.scrollTo(0,0);ff_currentheight=totheight;}}
onload=function()
{ff_initialize('formentry

onload function is still exists

Don't forget support my developments: post review in JED , donate ;)

Post your sites as examples into my directory User's Sites for apropriate extension

Please Log in or Create an account to join the conversation.

Time to create page: 0.078 seconds

Donate


Go to top