Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > HTML > HTML Code Clinic
|
HTML Code Clinic Do you have some HTML code you'd like to share and get suggestions from others for tweaking or improving it? This discussion is the place.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the HTML Code Clinic section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 21st, 2003, 01:53 PM
Authorized User
 
Join Date: Jul 2003
Posts: 41
Thanks: 0
Thanked 1 Time in 1 Post
Default "Find" doesn't work on framed pages

I have a page with 2 frames.
1. search (which searches the database)
2. results (gives all listing for results from search)

Problem is when someone uses their browsers "Edit" --> "Find (on this Page)" they get no results even if they are looking for something that is on the page.

I assume the reason for this is because the browser is searching the frames page not the results page?

How do I fix this problem? Thanks!


 
Old October 21st, 2003, 02:04 PM
richard.york's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 1,706
Thanks: 0
Thanked 6 Times in 6 Posts
Default

That would work if you shift focus to the frame in question by clicking on it. I'm not very found of frames personally~ these are best replaced with a little server-side scripting!

: )
Rich

:::::::::::::::::::::::::::::::::
Smiling Souls
http://www.smilingsouls.net
:::::::::::::::::::::::::::::::::
 
Old October 22nd, 2003, 02:21 PM
Friend of Wrox
 
Join Date: Sep 2003
Posts: 451
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to Ben Horne
Default

Try using BASE TARGET="somepage" in the frame code (Replace the "somepage" with the name of the results page). I find that if you do this, you will get the results you want.




Ben
Madison Area Technical College student
-------------------------
I am one of those people that you call "Microsoft Access Freaks". I'm addicted to Access





Similar Threads
Thread Thread Starter Forum Replies Last Post
will flash work in master pages of asp.net kalyan141142 ASP.NET 2.0 Professional 2 November 21st, 2007 11:21 AM
Who Framed Rogger Rabbit - Please Help ricardo_s Javascript 1 April 27th, 2006 12:15 AM
Pages with datasets don't work. rdaymond Dreamweaver (all versions) 6 January 23rd, 2005 03:02 AM
Transfer value from framed popup to framed mainpag wester Javascript How-To 1 December 27th, 2004 03:56 PM
browser "Find" option does not work...w/frames. abbylee26 Classic ASP Basics 1 October 23rd, 2003 05:15 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.