The very same page has 2 iFrames opening another page called tripledemoduo.asp. So there are 2 tripledemoduo.asp's opening within the 2 iFrames. Within a tripledemoduo.asp page there are the textboxes for inserting the keywords.
See the picture.
is it possible to move out the 6 textboxes from the iFrames and make 1 set of 6 instead of 2 sets of 6? That would make my life easier because I use this to compare two texts side by side by searching keywords. For example I put one keyword in red in both iFrames.
I've created a little search engine that works fine, but I want to highlight the keywords in an article. Using the replace function is OK, but its not very good when covering different cases. Its fine on single word searches but no good with multiple words. eg. if I search for "dog", I can do a replacement on "dog", "DOG" and "Dog" using the replace function. If I was to search for "black dog", I need to cover all possible variants. ("Black Dog", "BLACK DOG", "black dog", "Black dog", "black Dog") Is there any way of getting this to work?
Ive created a web page that queries a db and i have that all working fine. What i dont have though and would like to be able to do is get the page to highlight rows according to one colums value, ie
Colum1 Colum2 Row 1 50 Test <-- would like to the be highlihted lite blue for instance Row 2 90 Test2 <-- would like this to be highlighted red for instance
I have a SQL query that produces a table which displays account numbers and the amount owed on those accounts.
the page that displays that table is written with ASP. Does anyone know how can I highlight the rows in the table where account numbers have more than 7500 dollars in amount owed? Code:
i am working on an application...where i have to search for a string in the database field or text files.when the search finds the string i want it to be highlighted when it showas the result on the asp page.
eg: iam searching for a skill in the resumes...take JAVA...i want the resulting resume on the asp page with the JAVA string highlighted
I am doing search application in ASP. I want to highlight the matched text in the search result, for that operation I am using the following function Code:
I have setup a simple site in which users input data to an access database, and then the database results are shown on another page in a table. One of the fields in the databse is Date Added, using the date/time data type.
I would like the table to show new results with a different background colour for a period of time, say one week? Code:
Does anyone use a funtion to highlight search terms (if they have a search facility on their site). Basically, I would be sending the search terms from a form field into a results page.
If there are results I would like the search terms to be highlighted. One problem that I could think while using "replace" is that capitalisation would not be maintained.
I have a simple script which boiled down to highlighting search terms... Code:
if Trim(Request.QueryString("search"))<>"" then cont = Replace(cont,Request.QueryString("search"),"<span style=""background-color:#ff0"">"&Request.QueryString("search")&"</span>",1,-1,1) end if
this worked fine, however if the string I was searching was within an <a> tag, the inevitable would happen and an error would come up. I was wondering if anyone knows a way or if there is a script readily available to tackle this issue?
i am developing a search engine(ASP with SQL SERVER) for my project . My objective is to search for a data and it should display the result and highlighting the search text in different color. But when i use the search text with more than one word, the result is highlighting only the last word of the search text.
Example - If i search for "Opal" , the search result highlighting all the words with "opal", But when is search "Opal Service", the search result is highlighting only the "service".
Here the "Opal" and "service" are different identities, i will search these two words with AND condition . Code:
I'm intending to use a IFRAME in one of my ASP page. What I'd like to know is how to prevent user from directly accessing the page that is the source of the IFRAME?
E.g.
Main page is main.asp
Inside main.asp..
<IFRAME src="data.asp">
If someone tried to enter ..mysite/data.asp in the browser's address bar, I would like to redirect him back to main.asp
I am using an IFRAME in a custom control with src="Popup.aspx" where Popup.aspx is a page in the Web control library. How can I reference this page without having to copy it down locally ? I have tried embedding it in the Web control library dll and referencing in the Assembly.inf file using ContentType="text/html" and using GetWebResourceUrl to reference. But server controls are not rendered using this mime type and I cannot find a mime type for "aspx" files
I've inherited some code which has a menu page with an embedded iframe which displays the page corresponding to menu clicks. i was attempting to pass a session variable into the iframe page. sadly, it seems that the page displayed in the iframe and the "hosting" menu page are different session. i discovered this by placing response.write(session.sessionid) in both pages. why is this? is there a way to make the iframe page part of the original session?
Im passing from one website to another ie a link from www.1stdomain.com to www.2nddomain.com/list.asp?ID=1234 The problem I have is that 2nddomainhas an IFrame which I want to pass the ID .
i made page in asp with iframe and the contents of the iframe is coming form another asp file as a radion button gruop i did not get right result. what i want that the results of radio button groups are redirected in a parent page. so i writ that code so many times with few changes but i did not get right answer the code is.
"x" is the name of first radio group ( But Asp treat it as a first object of radio group so it returns me all the time the vale value against it either it is not checked.
saddled with using an <IFRAME> area on a classic asp page from the designer, so I'm trying to find out the following.
on that page I usually use the <IFRAME> to hold a simple HTML page, that the client will have access to from my CMS program so they can make edits, updates etc.
but, one page has a search functionality, written in classic ASP and using MS-Access dbase to find members of the association etc.
when I put the asp search page inside the <IFRAME> src , it wont show? ie -- <iframe src="findlawyer.asp" frameborder="No" width="756" height="427" id="iFrame" vspace="10">
-- should mean that the page findlawyer.asp should show up inside the holding ASP page (called simply find.asp)
why? when I look at the findlawyer.asp page online it shows up perfectly and works perfectly too....yet inside the <IFRAME> it refuses to show up???
I have a sign-in box that is an IFrame, with a form target of "_top", and the current (parent) page URL as a hidden field.
If sign-in in successful, there is a response.redirect to the page URL, having set the session variable LoggedInOK=true.
However, if the sign in is not OK, I want the IFrame to be the target, (i.e. _self, not _top) to display the error.
Is there a way for ASP to control whether it redirects to _top or _self, as setting the form target in the Login page requires "pre-knowledge" of whether it will be successful.
I have some ASP / HTML webpages using an iframe to function as a Content Editor which works fine in IE.
It has javascript preforming actions on the iframe content, such as putting the text in bold, creating hyper links etc.. However none of this works in Opera or Netscape, is this totally impossible?
The error occur as "myiframe" is in a.asp and i need to call it in b.asp and i can't find the solution for that too.?anyone know how to pass value from a.asp to b.asp in above?
With UncleWobby, Steven Burn and Roland Hall's help, I was able to create a proper IFRAME section on my page.
Now I come to the next problem.
I'd like to be able to:
- manually refresh the IFRAME, and - set a time interval to auto refresh the IFRAME
I've got <META http-equiv="REFRESH" content="10"> in the child page (src of IFRAME) which refreshes the page in IFRAME every 10 seconds. Is there anyway I can
- change the refresh interval value, and; - set the page in IFRAME to auto refresh or not;
from the parent page but without submitting a form from the parent page (to avoid refreshing the parent page)?
Just wondering how (or if it's possible) to post from my page to another .asp page within an iframe? Hopefully that question make sense? I know how to launch load a page with an iframe, but how do I post to a page within a page
host has no upload facility. They also block uploading scripts.As she wants to be able to upload files easily I have opened her ftp folder within an iframe when she has logged into her admin functions.
This allows her to drag and drop files when she's viewing in Windows & IE.What I'd like to know is how safe a method is this?what ways can I make it safer?
I have an asp page that when I select something teh content of what I select appears on the page. I know I can use iframes, but it is not to freindly with all browsers, and I can use frames, but same reason. SO, what I would like to know can this be done with vbscript? or is there another way?I am in real bad need of this solution quickly.