Solved

TinyMCE Chrome

Posted on 2011-02-13
5
1,321 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 Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Today I would like to talk about localizing (Internationalization) JavaScript applications. Introduction When creating an application that is going to be used by many people around the globe, it is important to remember that not everyone speak…
I've been trying to accomplish this for a while and it just struck me yesterday how to accomplish this task. I have done searches all over the internet looking for ways to email pages from my applications and finally I have done it!!! Every single s…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
This Micro Tutorial will demonstrate how to updated your Facebook updates after changing anything in the title or description of a shared article.

747 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now