Solved

TinyMCE Chrome

Posted on 2011-02-13
5
1,335 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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Suggested Solutions

JavaScript can be used in a browser to change parts of a webpage dynamically. It begins with the following pattern: If condition W is true, do thing X to target Y after event Z. Below are some tips and tricks to help you get started with JavaScript …
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
This video will take you through the Geo tab, including Location and Language demographics. It will also take you through the Technology tab, including mobile devices. Click on Audience – Geo  a. Look at location demographics  b. Look at Language de…
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)

713 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