Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1352
  • Last Modified:

TinyMCE Chrome

I am back in my previous problem that I must solve.
I downloaded a new Chrome version and I thought that the probem is solved (because sometimes it does work).
The problem occures only in Chrome.
When I initialize the tinyMCE Chrome scrolls the page to the bottom.
I  scanned the tinyMCE code, and found only few places where it does scrolling.
I commented them out, but it did not help.
0
VapiSoft
Asked:
VapiSoft
  • 4
1 Solution
 
rationalbossCommented:
What is the URL? Check if there are hashes (#) in the URL too, it can also be a reason for the scrolling
0
 
VapiSoftAuthor Commented:
Yes.
I don't know how they are being added to the URL.
The origional URL is: http://localhost/MyTree/main.php
or http://www.my-tree.co.il/main.php
But something happens, and a # is added to the URL.
0
 
VapiSoftAuthor Commented:
You are right.
It is somthing to do with the '#'.
It looks like that the problem (that it adds the '#') when I do the following.

var main=document.getElementById('main');
var save=main.innerHTML;

and then (after I want to resore the old page).

main.innerHTML=save;


0
 
VapiSoftAuthor Commented:
Hi,
I found out what adds the '#' to my URL.

I have many icons in my site that looks like that:
<a class="rollover" href="#"><img onclick="clickOnEditStatus('+k+')" src="Images/CSS/action_Edit.png" /></a>
So the probem is that in Chrome it adds the '#' to the curent UTL.
I think I can change it.


0
 
VapiSoftAuthor Commented:
Please note my comment.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now