EditWrx Knowledge Base Home
 Search       Login   Register   Members   Help   Home 
Search by username


No Scroll
 Moderated by: Keith  
 New Topic   Reply   Print 
AuthorPost
jayray65
Member
 

Joined: Wed Jan 30th, 2008
Location:  
Posts: 3
 Posted: Thu Jan 31st, 2008 02:02 am
 Quote  Reply 
 

When linking, the scroll feature works in "test window" BUT when it is  linked,  the popup window doesn'have  a scroll bar.

What to do??

Keith
Moderator
 

Joined: Fri Apr 8th, 2005
Location:  
Posts: 603
 Posted: Thu Jan 31st, 2008 02:36 am
 Quote  Reply 
The scrollbars attribute in the popup window merely allows the popup window to display scrollbars if the page's content requires or allows it. If the content of the page does not extend beyond the window, no scrollbars will display. If the page contains any code that inhibits scrolling, no scrollbars will display (that includes overflow:hidden and scroll="no" instructions).

Check the code produced by the link tool. In the window.open list of attributes there should be "scrollbars". If that is not in the list then Scrollbars was not checked when you clicked Apply on the attributes to the link. If is is in the list then scrollbars will display as required and allowed.

jayray65
Member
 

Joined: Wed Jan 30th, 2008
Location:  
Posts: 3
 Posted: Thu Jan 31st, 2008 03:21 am
 Quote  Reply 
Hi Keith-

Here is the link.

<A onclick="window.open(this.href,this.target,'top=10,left=650,width=600,height=500,scrollbars')" href="/about/index.htm" target="About_Us">About Us</A><br /></FONT></FONT></FONT> 

 

the website is  http://www.barbedcrossconstruction.com/index.php

click on the "About Us." Still under construction but you can get the idea.

Thanks for the quick reply.

Keith
Moderator
 

Joined: Fri Apr 8th, 2005
Location:  
Posts: 603
 Posted: Thu Jan 31st, 2008 05:13 am
 Quote  Reply 
When viewing the source code on index.php I find


<A onclick="window.open(this.href,this.target,'top=10,left=600,width=600,height=500')" href="/about/index.htm" target="About_Us">About Us<br /></A>



with no scrollbars attribute. On the otherhand, I find

 

<A onclick="window.open(this.href,this.target,'top=10,left=500,width=600,height=500,scrollbars')" href="/projects/index.htm" target="Projects">Projects</A>

 

and the scrollbars work OK.

Last edited on Thu Jan 31st, 2008 05:13 am by Keith

jayray65
Member
 

Joined: Wed Jan 30th, 2008
Location:  
Posts: 3
 Posted: Thu Jan 31st, 2008 06:56 am
 Quote  Reply 
Thanks -

But now I am really confused. The previous info came directly from my server via ftp. It shows "scrollbars" but when I look at source in index.php it is not there.

As i stated, the test window for about us showed scrollbars. but the saved links didn't- and neither does index.php-as you stated.

I am using  "php includes" and the menu is controlled by css. But still I don't understand why some links show scroll bars and others don't. 

I'll type directly to source and get it working.

Thanks and keep up the great work.


 Current time is 11:33 pm




Powered by WowBB 1.62 - Copyright © 2003-2004 Aycan Gulez