Solved

TinyMCE Chrome

Posted on 2011-02-13
5
1,340 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

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. …
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
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 Moz's free MozBar that for some reason our Facebook mark did not get ported over, so this tutorial will show you how it saved us.

687 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