|
Hi,
I have a very long aspx page where i have some links followed by the description for those link headings. When i click the link in the top the focus has to go to the description mentioned some where below and vice versa. How can i achieve it.
|
|
|
|
|
Add a unique ID to the element at the bottom of the page. The link at the top can then refer to this using the # anchor and when clicked it will jump to your element.
For example:
<a href="#my_jump">Link at top</a>
blah
blah
<h3 id="my_jump">Thing at bottom</h3>
|
|
|
|
|
hi
1. how can be resized the web page.
2. how can I design the menu control like yahoo.com,google.com ...
recently I'm working on live project....
thanks 'n' regards
Harry
You get the best out of others when you give the best of yourself.
|
|
|
|
|
|
I have a strange problem that only happens with IE. Other browsers do not exhibit this problem and it seems to be because of caching.
I am displaying a video and it plays just fine when the page is first loaded. If I refresh the page the rendering stops just after the masthead image is rendered and the rest of the page doesn't get rendered.
If I go in to internet options and delete files the page works again for the first time but if I refresh it the rendering stops again after the masthead.
I tried not caching the page, both using meta tags and HTML headers and this doesn't fix the problem.
Below is the code I am using.
<br />
<?php<br />
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");<br />
header("Cache-Control: no-cache");<br />
header("Pragma: no-cache");<br />
?><br />
<br />
<meta http-equiv="Pragma" content="no-cache" /><br />
<meta http-equiv="Cache-Control" content="no-cache" /><br />
<meta http-equiv="Expires" content="Mon, 26 Jul 1997 05:00:00 GMT"><br />
I don't know anything else to try. Does anyone have any idea why IE would be caching the page in spite of headers saying not to?
The website is WebNationVideo.com
|
|
|
|
|
how can check the input data is character or numeric if input data accept the numeric and input data is character then error message
sanjeev
|
|
|
|
|
|
Use javascript to check the input data is character or numeric
SSK.
Anyone who says sunshine brings happiness has never danced in the rain.
|
|
|
|
|
I have an asp file linked to a html file with the following code:
<%
Dim rs, conn
set conn = Server.CreateObject("ADODB.connection")
set rs = Server.CreateObject("ADODB.Recordset")
conn.Provider="Microsoft.Jet.OLEDB.4.0"
conn.Open(Server.Mappath("obesity.mdb"))
age = request("age")
gender = request("gender")
height = request("height")
weight = request("weight")
waist = request("waist")
sqlstring = "Insert INTO User ([Age], [Gender], [Height], [Weight], [Waist]) Values(" & age & ",'" & gender & "'," & height & "," & weight & "," & waist & ")"
rs.Open sqlstring, conn
sqlstring = "Select * From User Order By age"
rs.Open sqlstring, conn
Response.Write "<TABLE BORDER=0><TR><TD width=100><u><strong>age</strong></u></TD><TD width=100><u><strong>Gender</strong></u></TD><TD width=100><u><strong>Height</strong></u></TD><TD width=100><u><strong>Weight</strong></u></TD><TD width=100><u><strong>Waist</strong></u></TD></TR><TR>"
while not rs.EOF
Response.Write "<TD width=100>" & rs("age") & "</TD>"
Response.Write "<TD width=100>" & rs("gender") & "</TD>"
Response.Write "<TD width=100>" & rs("height") & "</TD>"
Response.Write "<TD width=100>" & rs("weight") & "</TD>"
Response.Write "<TD width=100>" & rs("waist") & "</TD>"
Response.Write "</TR>"
rs.MoveNext
wend
Response.Write "</TABLE>"
rs.Close
%>
When ever i execute this however it comes up with the following error message:
Microsoft JET Database Engine (0x80040E14)
Syntax error in INSERT INTO statement.
If anyone can spot where I'm going wrong can you let me know. The table in the database looks as follows:
Age - number
Gender - text
Height - number
Weight - number
Waist - number
Thank You
|
|
|
|
|
Ok... that took me about three seconds to spot...
User is a reserved keyword. Either rename the table, or use brackets around the name in the query: [User].
Experience is the sum of all the mistakes you have done.
|
|
|
|
|
thanks man feel so stupid for that now.
|
|
|
|
|
Heh... This has tripped me up again and again, but i still refuse to name the tables i keep user info in anything else. It represents users, dammit.
---- ...the wind blows over it and it is gone, and its place remembers it no more...
|
|
|
|
|
Recheck your insert query and you may want to learn about preventing sql injection attacks.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
|
|
|
|
|
i wants to know
how we can connect asp.net pages to msaccess using c# language
|
|
|
|
|
You won't get any good answers to a general question like that. Start by searching[^], try to put something together, and come back and ask if you have any problems with that.
Experience is the sum of all the mistakes you have done.
|
|
|
|
|
You really should read up on this. Try using the data source wizard for starters...
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
|
|
|
|
|
hai
I have a file which contains some hyberlinks and contents.
like
dfksjhsdfkh fdssdfhsdfkjhlsdfsdfhkldfshl dfssdfdfs jksdhklsdfhklsdfh.
i want to retrieve hyberlinks using regular expression in javascript.
if anyone known help me
Thanks in Advance
Ganesh Mohan
-- modified at 7:19 Saturday 1st December, 2007
|
|
|
|
|
This is a common question. Search Google for regular expressions and HTML tags and you'll find plenty of examples.
Paul Marfleet
"No, his mind is not for rent
To any God or government"
Tom Sawyer - Rush
|
|
|
|
|
how can fixed the table data which display if the word can not be completed in fixed table column then bareak it in new line not expend the column width
like when using this table column is auto adjested with data when a word is end then goes to new line so how can adust the table data with column not with data
[code]
iamsanjeevkumarjhawhatsyour[/code]
sanjeev
|
|
|
|
|
I think you're asking how to wrap long lines of text, which is an old web problem. There's no 'nice' way of doing this just yet, but you can use a variety of browser-specific CSS styles to achieve it: white-space
|
|
|
|
|
I'm trying to store a lengthy text in a table using oracle9i. I tried long datatype for the same. but when i tried to display the text using "select", it displays only 80 chars. Please help.......
|
|
|
|
|
How come you want to store the characters in long datatype? it's not possible. If you want to store the lengthy text then you can use nvarchar() for that.
Anyway, you are in wrong forum..
|
|
|
|
|
hi would someone like to test my simple programmes for feedback thanks
Dave Hitchenson
|
|
|
|
|
Nope. Test them yourself.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
|
|
|
|
|
Hi can anyone tell me is there web site already built we can use free or do we all need to reinvent the wheel? i m looking for code to run a dating site .
thankyou
Dave Hitchenson
|
|
|
|