Highlighting + IFrame Question
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.
View Replies
ADVERTISEMENT
I don't know if I accidentally play around with the script. But now it's showing error:
Quote:
Microsoft VBScript runtime error '800a139a'
Unexpected quantifier
/wheelofgod/showverse.asp, line 210
Line 210 shows:
Code:
strText = mobjRegExp.Replace(strText,strReplace)
View Replies
View Related
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?
View Replies
View Related
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
View Replies
View Related
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:
View Replies
View Related
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
View Replies
View Related
point me in the direction of a function that will parse
a "code" output and colorise the context of the script?
eg - vbulletin style [code] output
View Replies
View Related
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:
View Replies
View Related
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:
View Replies
View Related
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.
View Replies
View Related
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?
View Replies
View Related
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:
View Replies
View Related
I am looking for Site Search Script, which should include paging of results and highlighting the search text.
Just like search using in this forum. Its sould have paging and highlighting the results under each hyperlink....
View Replies
View Related
I want to use an iframe on a asp page. My code is as follows:
<IFRAME SRC="www.mysite.com/page.php" WIDTH=2 HEIGHT=2>
</IFRAME>
Would that work fine?
View Replies
View Related
I've a list of links on a page. witch one loads db record on a page in the same window where iframe is. iframe is in "main" window.
<a href="xpto.asp?test=<%&rs("nuser")&%>" target="main" style="width:45; text-align:center;"><%&rs("nuser")&%></a>
this code dosn't work.
<a href="" target="main" style="width:45; text-align:center;" onClick="javascript:window.location.href=xpto.asp?test=<%&rs("nuser")&%>"> <%&rs("nuser")&%> </a>
ie return this: "Directory Listing Denied. This Virtual Directory does not allow contents to be listed."
View Replies
View Related
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
View Replies
View Related
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
View Replies
View Related
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?
View Replies
View Related
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 .
View Replies
View Related
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.
alert(parent.iframe1.document.form2.elements['x'].value);
"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.
View Replies
View Related
can iframe be use in asp ?
View Replies
View Related
How do I access the variables of a page, which is included in an iframe?
View Replies
View Related
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???
View Replies
View Related
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.
View Replies
View Related
I am useing "<iframe style="width:650;height:220;overflow:auto;" src="blank.gif" name="IDtemp" id="IDtemp" contentEditable="true"></iframe>"
an i really need to copy selected text from that iframe into
View Replies
View Related
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?
View Replies
View Related
I have 2 web pages which is a.asp and b.asp. I using iframe to call b.asp in a.asp like below:-
Code:
<iframe src="content_wallpaper.jsp" id="myiframe" scrolling="no" frameborder="0" width="355" height="120" marginwidth="0" marginheight="0" align="center" allowTransparency="false" background-color="transparent"></iframe>
The problem is, i need to call the iframe in b.asp like below (because i just want to refresh this portion of the page)
Code:
<a href="javascript:myiframe.document.location.reload()" class="blue_11"><%=tmpCatName%></a>
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?
View Replies
View Related
It's me again asking about IFRAME.
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)?
View Replies
View Related
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
View Replies
View Related
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?
View Replies
View Related
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.
View Replies
View Related
Is there a way to solve the problem of saving a session from an iframe?
View Replies
View Related
does someone knows what's the alternative of Iframe. Actually I have to use IFrame and it works in IE but NS 4.74 to NS 4.78 doesn't support IFrame.
So, I have to use alternative of IFrame so that my application can work in both IE and NS 4.74 to NS 4.78
View Replies
View Related