|
Txoov wrote:
In my tag I have this:
maybe this is what was causing the problem
|---------------|
| theJazzyBrain |
|---------------|
|
|
|
|
|
Thanks for helping, unfortunately, that wasn't it. When I past the body tag in, I just forgot the closing quote. The problem occurs every now and then. It's not always occuring. The page is here:
Click Here
ljCharlie
|
|
|
|
|
I reloaded the page about 10 time and I didn't get any errors...
I cant think of anything else, but if you find the problem please tell.
I would like to know what the problem was.
Good luck
|---------------|
| theJazzyBrain |
|---------------|
|
|
|
|
|
Thanks for the help! I'll sure let you know.
ljCharlie
|
|
|
|
|
HI,
I created tables in MS Access.. and am quite familiar in accessing the tables from the ASP page for my site. I then saw somethin like relationships.. and started playing around it. I got the followinf stuff....
Employee (table)
- EmpId
- DeptId
- Name
Department (table)
- DeptId
- DeptHead
- Description
The Dept head at the second table is linked with the EmpId in the first table by means of the relationships....
NOW, will it be possible for me to access the first table data, by querying the second table. (In access screen I was able to see the first table data in the second table by clicking + on the field which joins them)
Please help
I was born intelligent Education ruined me!.
|
|
|
|
|
It looks like it would be more natural to link the Employee table with the Department table on the DeptID field.
Best regards,
J. Paul Schmidt - Freelance ASP Web Developer
http://www.Bullschmidt.com - Creating "dynamic" Web pages that read and write from databases...
|
|
|
|
|
Can u throw on some light like... how to do it in the access.. and how to take the data using my ASP pages please...
I was born intelligent Education ruined me!.
|
|
|
|
|
Off the top of my head,
select * from Employee, Department where Department.DeptId = Employee.DeptId
Michael
'War is at best barbarism...Its glory is all moonshine. It is only those who have neither fired a shot nor heard the shrieks and groans of the wounded who cry aloud for blood, more vengeance, more desolation. War is hell.' - General William Sherman, 1879
|
|
|
|
|
hmmm... my question was different... In my case.. I had setup the relationship in the ms acces itself. And, I use that through the ASP page.
All I want to know is... how can I get the calue from the second table, when I make the connection/record_set on the first table (both tables are linked by the relationship in access?!?!)...
I was born intelligent Education ruined me!.
|
|
|
|
|
I would like to use a "BACK" button that would take a visitor back to the site that they linked from. In my frames page, I have the following code: referer=lcase(request.servervariables("HTTP_REFERER"))
Can "referer" be used in the <a href> tag located in the navigation frame? Or could I use a field from a database?
The only access to this page will be when someone links from another site.
Is this posible?
Thanks!
|
|
|
|
|
if your....
blindzebra wrote:
referer=lcase(request.servervariables("HTTP_REFERER")
shows the page where user is visiting from... then... it can be used in.. href tag...
I was born intelligent Education ruined me!.
|
|
|
|
|
What should be the syntax of the href tag?
|
|
|
|
|
<a href='<%=request.servervariables ("http_referer")%>'>Click here to go back</a>
the code doesnt get displayed properly... so will mail u the code.....
I was born intelligent Education ruined me!.
|
|
|
|
|
I am trying to put a security banner at the top and bottom of a page with dynamic content between. I can do it with a table but I would like to do it with a <DIV> to get it right on the edges of the page. What I need is help finding the ending points of the dynamic content in pixels. Any body got an idea?
|
|
|
|
|
I'm not sure what your after, but...
<div style="width:100%">
<img src="head_banner.gif"/>
</div>
<div id="bodymain" style="width: 100%; height: 10px">
This is some dynamic content<br>
</div>
<div style="width:100%">
<img src="foot_banner.gif"/>
</div>
<input type="button" value="Click to see width and height of content" onClick="alert(document.getElementById(bodymain).style.pixelWidth);"/>
I'm pretty sure that pixelWidth is a property, but it might only work in IE...
pixelHeight should return height...
You might have to enclose bodymain in quotes...
I think thats what your trying to do??
I'm confused as to why you don't use tables tho...?
Cheers
"Two wrongs don't make a right, but three lefts do!" - Alex Barylski
|
|
|
|
|
I saw an asp site which one can upload a thumbnail image and it will enlarge it for the large image or vise-versa. If some one can give me info on it I would appreciate it.
Sam
|
|
|
|
|
I've seen this done using the onclick event in the anchor tag to replace the thumbnail image with a full-size version. I haven't used it myself, so I can't provide you with details, but it seems fairly simple.
"Please don't put cigarette butts in the urinal. It makes them soggy and hard to light" - Sign in a Bullhead City, AZ Restroom
|
|
|
|
|
2 options
1) Use a graphics library on the server side and resize the image on the server before output to the browser.
2) Use JScript and resize the img element itself, I think it will shrink or grow the image as required.
Obviously either will distort the image if going from small to large, so programmer beware!!! (unless you store thumbs and real-size images on the server)
Client side:
<!-- Method one - Use 2 images, NO distortion -->
<img src="small.gif" name="myImg">
<input type="button" onClick="document.myImg.src='large.gif'"/>
<!-- Method two - Use 1 image, resize element itself (distortion) -->
<img src="small.gif" name="myImg">
<input type="button" onClick="document.myImg.width=120px"/>
I haven't tested any code, so you might have to play around a lil' but you should get the idea...
Cheers
"Two wrongs don't make a right, but three lefts do!" - Alex Barylski
|
|
|
|
|
Hockey wrote:
2 options
1) Use a graphics library on the server side and resize the image on the server before output to the browser.
I'm interested your option #1 b/c I'm trying to get rid of distortion. do you know of any thing that I can do in classic asp.
Thanks,
Sam
|
|
|
|
|
|
Hello,
I have seen some sites where a cgi is called and loads a page to
the browser, then will automatically refresh again using the same connection - i.e - it does not use html refresh or call itself, etc.
I wish I remembered the URL so I could refer it here. But here is how I remember it - I go to the page using IE and it loads up some content. The progress bar at the bottom of the browser indicates that the page is not loaded yet. And after waiting for some time, new content shows in the same page, and so on. In other words, these pages never see a "done" on the
browser.
I was wondering if the cgi was playing with the content-length tag to starve the browser of necessary bytes to finish + also resending headers and content again. Again, this is just my guess; I would like to learn how this is done ? Thanks.
Robert
|
|
|
|
|
|
>>This is called "server push", see this document for explanation.
Thanks for the answer. But I thought SP is not supported in IE - this is why I was wondering if there was some equivalent?
Robert
|
|
|
|
|
Hi,
This is a very simple question but one that has had me vexed for a while......
How do I turn on wordwrap in the interdev development environment ? I am editing my ASP files in the source window of interdev but the code disappears off the right hand side of the window and it's driving me nuts.
HEEEEELLLLLLPPPPP !!
Thanks
Chris
"Inside, alway's tryin to get back inside" ~ Lane Staley
|
|
|
|
|
Interdev sux, doesn't it?
I know the hassle this causes, but haven't found a way to solve it. One problem with enabling wordwrap that might occur is that it could mask coding errors. Since VBScript doesn't have a line terminator, any time there is a line break it interprets this as a new statement. Even if wordwrap was enabled as a display-only function, it would still cause confusion in debugging if you inadvertently hit a CR in the middle of a line. JScript, of course, doesn't have this problem - or shouldn't.
One thing that helps is to minimize the Toolbars as much as possible. I generally dump the left pane since nothing there actually works, and I do all the ASP coding in the source editor anyway. The Project View and Properties windows are handy, but it's easy enough to minimize them and restore them when needed.
"Please don't put cigarette butts in the urinal. It makes them soggy and hard to light" - Sign in a Bullhead City, AZ Restroom
|
|
|
|