Hyperlinks And Frames

Say for instance that I have 2 frames and I have code in one. That code is returning information from a database. In that database there are hyperlinks to images. Upon clicking that hyperlink how do I force the image into the other frame?

At present It opens appears to go to a new page, but everything is coded in one ASP page. So I have to click back to select another image? I want to be able see both the database and image so I dont have to go back and forth

View Replies


ADVERTISEMENT

Hyperlinks

I have an ASP Session where I add values on Page1 and then use them on Page2 e.g Session("newsid").

What I want to do is when I click on a specific link, clicking on the link adds a value to the Session and then redirects the user to a new page, but nothing I do seems to allow me to do this. The code where I want it to be done is as follows: Code:

View Replies View Related

Hyperlinks

I posted awhile back about displaying line breaks in ASP pages from MS Access Database records which was solved very well with the use of a replace function. is there a replace function to display hyperlinks mixed in with regular text in a memo field? If so, could someone tell me what the code is?
I use this for line breaks:
Code:

MemoField = Recordset1.Fields.Item("ArtText").Value ' Field from database
MemoField = Replace(MemoField,chr(13) & chr(10), "<br>") ' build in html line returns

and then:

Code:
<p align="left"><%=MemoField%> </p>

View Replies View Related

Hyperlinks

Can anybody help me understand why these two examples do not work? The database has www.domain.com in it.

<a href="http://<% rs('URL') %>"><% rs('URL') %> </a>

<a href="mailto: <% rs('e-mail') %>"><% rs('e-mail') %> </a>

My other question is how should I store hyperlinks in my database? I'm assuming text but should I add the http:// there as well?

View Replies View Related

Put Hyperlinks

Is there any way to how to put hyperlinks in a (flex/hflexgrid)?

View Replies View Related

Creating Hyperlinks?

I need to format each row being returned in a recordset as
a hyperlink. One of the fields being returned is the
subject of a message that my hyperlink will show. When
the hyperlink is clicked then the ASP page loads further
message details of that link. Does anyone know how to do
this?

View Replies View Related

Retrieved Hyperlinks

I added a column to my Access database and defined it as hyperlink.
I added some URL in the fields and i was able to see the underline under each address.
In my code i added the following line :
Response.Write("<td align=right>" & oRS("info").Value & "</td></tr>")
(The hyperlinks defined in my database as info).
I'm able to see the hyperlink when i retrieve all other data but it appears as
#http://www...asp# and with no underline what is the reason and how can i change this ?

View Replies View Related

GetRows() And Hyperlinks

<%
' Loop through the array holding the result set and display the data
For iCounter= varC1Begin to varC1End
Response.Write("<a href=prices.asp?manuf=" & arrResultSet(0,iCounter) & ">"
& arrResultSet(0,iCounter) & "</a><br>")
Next
%>

In the above Response.Write statement arrResultSet(0,iCounter) displays the
manufacturer just like it should.

However, within the hyperlink, if a manufacturer has 2,3, or more words, it
will only show the first word. Anything after the first space is ignored.
Why?

View Replies View Related

Writing Hyperlinks

I'm writing a company intranet site,and on the home page,I'd like there to be links to some of the software that the employees frequently use on their own computer.This will be the inducement to get them to use the intranet home page as their default home page, and visit it frequently.

For example a program which is under:

"C:Program FilesNow SoftwareNow Up-to-DateNUD.exe"

if I write that link into the hyperlink,it will not work,because the hyperlink also adds the url as a prefix to the link, so it will say

"http://www.url.com/C:Program FilesNow SoftwareNow
Up-to-DateNUD.exe"

View Replies View Related

Generating Hyperlinks

im currently trying to generate a list of links to files held within my database.The file itself is a pdf

Im currently using this code :

Code:

response.write "<A HREF='" & RS("file") & "'>" & RS("linkname") & "</A>"

and its giving me the error:

Microsoft VBScript runtime error '800a000d'

Type mismatch

/irtwebsite/welcome.asp, line 27

View Replies View Related

DB Elements As Hyperlinks

I'm using Visual Web Developer Express 2005 to get me started - probably a bad idea I'm told. Anyhow, I've connected a drop-down list ('Components') to a column in a SQL DB, and, upon selection, the resulting gridview is being generated as I hoped (with the corresponding 'Applications').

However, I would like each of these resulting rows in my gridview to be "clickable" as a hyperlink so that I can display each of the applications details on another page. If someone could enlighten me as to whether/not this is even possible, and if so, how?

View Replies View Related

Hide Hyperlinks

Can anyone provide the code to hide hyperlinks (change to background colour?) if the files they link to do not exist?

View Replies View Related

Test Hyperlinks

anyone know some good ASP code to go through a page and test the hyperlinks to make sure that they are valid. Couldn't find anything good yet, but if someone knows of anthing.

View Replies View Related

Excecute Hyperlinks

I'm trying to excecute all the hyperlinks on a webpage one by one with a specific order automatically, any suggestions/helps on that?

when a link is executed (clicked), a popup comes up asking you to open or save the document, is there a way to by pass that? And save the file automatically into a specified location?

View Replies View Related

Remove Hyperlinks

I have a page which takes data in an HTML table, and exports it to an Excel file. It works fine, but I want several things about the spreadsheet to look different from the HTML version. Things like fonts and colors. I think I can use a style sheet for the latter, but I haven't figured out how to remove hyperlinks from some of the items. On the HTML page, the hyperlinks are useful, but I don't want the spreadsheet to have them.

So on my ASP page which builds the Excel file, I have this: ...

View Replies View Related

Hyperlinks Explorer Vs. FireFox

I pull file paths from a database that point to files on our internal server and create links to them. For Explorer this works...

File://servername/file/path/filename.snp

But not for FireFox.

View Replies View Related

Need A Submit Button To Run Two Hyperlinks

I have a Submit button on a web page that runs the following hyperlink code below.

<p>
<a href="ProducsTotalBasket.asp?Remote_computer_name=<%=FP_FieldURL(fp_rs,"Remote_computer_name")%>&Committed=<%=FP_FieldURL(fp_rs,"Committed")%>">

<input type="submit" value="Click to Continue" name="ClicktoContinue"></a></p>

The hyperlink uses parameters that pass the value of the "Remote_computer_name" and the value of "committed" to a SQL statement that uses the values returned to update the underlying database.

The hyperlink code runs perfectly when I click on the submit button on the web page and updates the database however at that point I want the user to be redirected to a new page i.e. a second URL address.

View Replies View Related

Need A Submit Button To Run Two Hyperlinks

I have a Submit button on a web page that runs the following hyperlink code below.

<p>
<a href="ProducsTotalBasket.asp?Remote_computer_name=<%=FP_FieldURL(fp_rs,"Remote_computer_name")%>&Committed=<%=FP_FieldURL(fp_rs,"Committed")%>">

<input type="submit" value="Click to Continue" name="ClicktoContinue"></a></p>

The hyperlink uses parameters that pass the value of the "Remote_computer_name" and the value of "committed" to a SQL statement that uses the values returned to update the underlying database.

The hyperlink code runs perfectly when I click on the submit button on the web page and updates the database however at that point I want the user to be redirected to a new page i.e. a second URL address.

View Replies View Related

Pull Down Menu Of Hyperlinks

I need a menu in one of my asp pages. A click on one hyperlink should display its pull down menu of the other related hyperlinks ... as that appears in search option this forums. As an example... main link will be Alphabets. A click on it or on focus.. it should display a drop down list of other related hyperlinks.

View Replies View Related

Allow Users To Create Hyperlinks

Is it possible to allow a person whom navigates to a particular page to type in a URL to a website they visit often, and have it be treated like code on the page itself for them to use it as a hyperlink?

View Replies View Related

Passing Hyperlinks To Asp File

Lets say I have a list of all of Jimi Hendrix's live shows. I can view the entire list at shows.asp. Now, what do I do if I just want to see shows for, lets say 1971?

I want hyperlinks on my page for each year and when I click the year, it generates the list of shows from that year. I dont want to make an ASP file for every year. How do I do this? Do I use a METHOD=GET and then do something like "shows.asp?year=1971"?

Basically, I'm trying to make a web-enabled database for band. So this is gonna get complicated. Like once I get a certain year, I may also want to view by states and so on.

View Replies View Related

Pulling Out Hyperlinks From An Access Database

I have an access database that holds among other info, web addresses and email addresses. They are in a hyperlink format in Access. When I run the ASP code, they disappear. I want to pull the data out, with the web addresses as hyperlinks.

View Replies View Related

Passing Hidden Field Value In Hyperlinks

I currently us JavaScript to populate a hidden field with my scroll
location in order to retain the page location when I post the page back
to itself. However, I don't know how to pass that hidden field value
in a hyperlink as the value is always changing. Anyone have any
suggestions?

View Replies View Related

Include Files Screw Up Hyperlinks

I'm trying to get my head round includes:

A page that works fine when called by name from the includes folder loses its images etc when called as an include in a page closer to the web root.

Thus:includes/page1.asp contains the following

img scr="../images/pic.gif"

This displays the picture when the page is viewed on its own. The picture url is http://localhost/school/images/pic.gif

But when includes/page1.asp is used as an include in page2.asp (in the web root) the image is not found because the url is http://localhost/images/pic.gif

Is it something to do with virtual versus absolute file paths?

View Replies View Related

Regular Expression :: Convert URLs To Hyperlinks

I downloaded this simple function from 4Guys that uses RegEx to convert all URLs into hyperlinks. I need to alter it slightly so that the end of the link will be determined by a space (it does this now), or a "?", which ever comes first.

The problem is, I don't have a good grasp on RegEx patterns and I can't find how to do this. My pattern is below. Can someone tell me how to alter it to do this?

objRegExp.Pattern = "(www|http|S+@)S+"

View Replies View Related

Have To Create Hyperlinks Dynamically Based On The Values From Database.

I have certain Keywords stored in a table of the Database.All i need is when ever i find the Keyword in the webpage i need to have a link which opens up as a seperate page and give me the detail information from the database for the seleted keyword.

View Replies View Related

Frames?

If I have existing code that has a drop down box to select department. This then brings up the Access database based on a field passed from the drop down selection.

How can I get the database to show up without getting rid of the table display from the selection. This way I do not have to go back adn forth for every selection.

Shold I create Frames? How do I do that?

View Replies View Related

Using Frames

I want to print a page, with a header(image in another frame).

Is there a way where i can specify what i want printed as a header?

Or can i specify only certain frames to print.

I'll need to do this in the coding because there is other frames on my page as well that i don't want to print.

View Replies View Related

Asp And Frames

I am trying to use frames in asp page. Well I am aware that frames are on client side etc.. what I need is following. Let me explain using the main page which have
the frames skeleton :

******FRAME.asp**

<HTML>
<HEAD>
</HEAD>

<FRAMESET ROWS="50%,50%">
<FRAME SRC="which.asp" NAME="which" FRAMEBORDER=0 BORDER=0>
<FRAME SRC="what.asp" NAME="what" FRAMEBORDER=0 BORDER=0>
</FRAMESET>

</HTML>

************

1) on page what.asp i am extracting value from database in a table
format.

2) when any row in what.asp is clicked the value should change in
which.asp

3) Finally I should be able to submit the whole FRAME.asp when the
update button on what.asp is selected.

Tried to search for examples on the net but unable to find any.

View Replies View Related

Asp Frames

I have an ASP programme which calls functions to display a list of tables from an access database

e.g.

table1(a,b)
table2(a,b)
etc

Ive also created the frames page dividing the page into two vertical colums 30% and 60%
Ive created a menu in the left column and when clicked upon want to have just a single table displayed in the right column, how do i do this?

View Replies View Related

ASP And Frames

I am having an issue using ASP and frames. I am required to use frames
so NOT using them isn't an option.

Problem: When a user enters the site they goto survey.asp (this is the
frameset page). However when an ASP script redirects to the survey.asp
page I get double frames.

Meaning, that when the user is returned to the page the orgional frames
exsist and then ANOTHER set of frames is set within those!

Any ideas on how to fix this?

View Replies View Related

Frames?

I just wonder what are the implications to use frames to build portal. I've
seen some sites that are quite fast with frames but I just wonder if there
are hidden "costs".

I've tried to use in the past and I run into a lot of problems when I worked
with environment where there were frame and no frames pages.

View Replies View Related

Three Frames

I have a page with three frames. One on the top, one on the left and one on the right.I use the frame on the left as a list of selections for the user (ie a menu). When the user makes their selection, the frame on the right shows the relevant page.I want to give the user the option of hiding and showing the frame on the left, by click on a button.My experience with frames, is nil.

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved