on 07-20-2009 6:14 AM
Hi Experts,
I am working with EP and JavaScripts. We are making changes through JavaScript in Portal.
I have to rewrite the URL's with new URL's by using JavaScript. I am using the following code-
if( parent.document.body.innerHTMLindexOf(URL)>0)
rewriteLinks(sourceURL,targetURL);
if( parent.document.body.innerHTMLindexOf(URL)>0)
rewriteLinks(sourceURL,targetURL);
f( parent.document.body.innerHTMLindexOf(URL)>0)
rewriteLinks(sourceURL,targetURL);
But, the problem is screen is blinking for 3 times to execute the above 3 if()conditions. I think, for every if() the screen is reloading.
How to stop reloading for every if() condition? Once all the if() conditions executed, then only reload the screen.
Regards,
Vijay.
Not required.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vijay,
It sholun't happen in javascript.U have put 3 conditions same as per the code u send.Check that once.
Any u can stop blinking in javascript.Refer this.
http://www.w3.org/TR/WCAG20-TECHS/SCR22.html
Regards,
Srikanth
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.