Solved

TinyMCE Chrome

Posted on 2011-02-13
5
1,332 Views
Last Modified: 2012-05-11
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
Comment
Question by:VapiSoft
  • 4
5 Comments
 
LVL 8

Accepted Solution

by:
rationalboss earned 500 total points
ID: 34883920
What is the URL? Check if there are hashes (#) in the URL too, it can also be a reason for the scrolling
0
 

Author Comment

by:VapiSoft
ID: 34883991
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
 

Author Comment

by:VapiSoft
ID: 34883998
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
 

Author Comment

by:VapiSoft
ID: 34884261
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
 

Author Closing Comment

by:VapiSoft
ID: 34884264
Please note my comment.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article shows how to create and access 2-dimensional arrays in JavaScript.  It includes a tutorial in case you are just trying to "get your head wrapped around" the concept and we'll also look at some useful tips for more advanced programmers. …
This article discusses how to create an extensible mechanism for linked drop downs.
This Micro Tutorial will demonstrate how to updated your Facebook updates after changing anything in the title or description of a shared article.
This Micro Tutorial demonstrates how to disable your ad blocker for some sites. In case Marketers would like to see ads on a site, this allows them to possibly view their competitors without have ads run on every site they visit.

860 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question