|
Hallo gurus,
I'm a absolute html-beginner and so I have absolute beginner's questions.
MY ASSUMPTIONS on what I want to have
a)
Suppose I have a simple html-page which contains
two radion-buttons
a edit-control
and
a "Store"-Button for storing the content of the htmp-page somewhere (lets assume in an excel-file)
b)
Any user makes his entries now (selects a radio-button and enters some text)
c)
After that the user presses the "Store"-Button for storing his choices to a Excel-File.
My Questions
1) With which tool do I program such an html-page? Notepad? or any .net-ide-tool?
2) Is html the right technology? or some asp-stuff? or xml-stuff?
3) How can I store the user's choices? any Scripting? or with any C#-Code?
4) Is there any example at codeproject available?
Sorry for my stupid questions
Thank you for your help
-- modified at 8:13 Thursday 15th September, 2005
|
|
|
|
|
1. Notepad is fine, or any other HTML development tool.
2. You must use some server-side scripting technology to implement the action of converting and storing the data in an Excel file. ASP is one possible choice.
3. See 2.
4. Search the Articles section.
|
|
|
|
|
Hi there,
I once had a script which I executed upon page load to remove those rectangles around the last clicked link: My links don't load a new page, but just change the content of some parts of the page. The script ran over all the dom-items and unselected everything.
I have no idea how this has been done anymore. It's a long time ago. Does anyone know where to find it?
Thanks a ton!
/matthias
I love deadlines. I like the whooshing sound they make as they fly by. [Douglas Adams]
|
|
|
|
|
Why not just use span tags and handle their onclick ?
Whatever the case...you could try onselectstart="return false" inside your body tag...if thats the right event?
However I think this only works inside IE and it prevents textboxes and other input controls from receiving input. But you can work around that to by changing onselectstart to return TRUE when inside elements which need selection.
Lastly...you could just traverse the DOM looking for A tags and calling each elements blur() that might work and sounds like what you may have done in the past
It's frustrating being a genius and living the life of a moron!!!
|
|
|
|
|
Hello
I need to make use off the GUI from a Win app, and use it on the web(web app), my first ide was to use crate a Class Library and add an user control to it. This have´nt workt out yet. I´ve searched the internet and found som pages where this topic is discussed, but cant get it to work...
Anybody who can direct me to a tutorial or something like that.
If somebody has an example where this scenario is implemented, could you send it to me..
e-mail: vidden80@yahoo.com
All hints are welcome....
Spaz
-- modified at 3:47 Thursday 15th September, 2005
|
|
|
|
|
You cannot "convert" Win app GUI into Web UI. You either need to build your Web UI or create a Win App that runs in sandbox (the client needs .Net Framework though).
If you want to build a Web-based rich-thin client, have a look at AJAX and learn some advanced object-oriented javascript.
I am currently using MyAjax.Net from Jason Diamond and can say I'm pretty much satisfied with it.
Ed
|
|
|
|
|
Hi All,
I have a button control.
By clicking the button a pop-up page should come.
I had written a javascript function to do that and that is working fine.
But the problem is like this,
if the popup is already opened thn again a new pop-up should not open even i am click
the button. ie, new pop-ups page should come only when there is no pop-ups are already
opened.
I think this is a common scenario in web developing.
Please let me know the solution.
Thanks in Advance,
ravi
|
|
|
|
|
Are u using Window.open() in javascript to open the pop up.
If yes then by specifying a name for the popup window as second argument of window.open u can solve this problem. That is
Window.Open(pageURL,SomeNameForPopUpWindow,WindowProperties);
|
|
|
|
|
Thank u very much Leena.
The problem was solved.
Thanku,
yeggu
|
|
|
|
|
Code:
parent.iframe.location.href = "a.apsx";
or
parent.iframe.document.location.href = "a.apsx";
But when the frame named "iframe" loaded successful the progress bar ( on the bottem) run slowly and when I click on other hyperlinks, nothing happen?
Hung
|
|
|
|
|
What is the question, really?
Where is the frame located relative to the code, as you are using "parent"?
Is the frame a frame or an iframe?
Do you really have a file with the extension "apsx"?
Where are the hyperlinks?
---
b { font-weight: normal; }
|
|
|
|
|
well i want to add dynamic row in my table using javascript. i m using insertRow() method of table and then using innerHtml property of row to insert my HTML code. here is the code
var Header = '111111111111111111111';
var row;
table = document.getElementById('tblRecords'); //getting my table
row = table.insertRow(0); //row insert at first location
row.innerHTML = Header;
wats wrong with this , or any other solution for this kind of issue
|
|
|
|
|
Why do you think that there is something wrong with that? Do you get an error message, or what?
---
b { font-weight: normal; }
|
|
|
|
|
there are no errors and also not working
|
|
|
|
|
Standard question #1:
What do you mean by "not working"?
---
b { font-weight: normal; }
|
|
|
|
|
I have this weird issue on *some* computers where the ONCLICK event handler that calls a function to open a popup just doesn't work until after all the images on the page have loaded. After all images are loaded the popup works fine.
Now the <script src=....></script> is specified in the <HEAD> and does get loaded *before* images by IE.
I don't think it's a popup blocker issue since the popups DO work after the page is fully loaded.
Has anyone heard of something like this? What's irritating is that I cannot reproduce this on my setup with same browser / google toolbar etc. Could it be norton internet security?
thanks, any tip would be appreciated.
|
|
|
|
|
Do you use the onload event for anything? That doesn't fire until all images are loaded.
---
b { font-weight: normal; }
|
|
|
|
|
there's no onload logic for the page. What's too weird is that it works fine on 3 development machines running IE6, but a client's machine on IE6 has this problem.
|
|
|
|
|
Hi all,
Currently I am using the following javascript code
document.pdfObjCommit.printAll();
to print a .pdf file which is displayed as an object on a web page.
Is there anyway which I can programmatically setup different printer trays? I want the first page to be printed on Tray 1 and the rest on Tray 2.
Any help will be much appreciated
Kind regards
Tony
|
|
|
|
|
Hi
How can I use the get method tag in the jsp page used to restrict the query string in the browser.
The tag is not working.
Amandeep
|
|
|
|
|
hi there,
what do u mean 'not working' here?
<< >>
|
|
|
|
|
I am coding a graphics heavy website and am having a problem with the way IE loads my images. More specifically after i open an image popup window using javascript then click elsewhere on the main page the images which should have been preloaded seem to need to be loaded again. This only happens in IE and only after i open an image popup. The website is portfolio.actionstar.ca/ci.html
Any help is appreciated
|
|
|
|
|
IE stops loading images once you click an <A HREF=__>, so you need to put the popup code in a ONCLICK event. Looks like you might have figured this out already yeah?
|
|
|
|
|
Thanks For your reply. The problem is not that IE stops loading images. The problem is that IE reloads all the images that should have been loaded already when clicking on a link(only after the popup is opened). If you do no open any popups and click on a link within the page everything works fine(images are not reloaded). I am not using <a href=___> to popup images. I am using
<img src="Images/btn1.jpg" name="btn1" onMouseOver="rollOver('btn1',true);" onMouseOut="rollOver('btn1',false)" onClick="openPopImg('Images/ciexample1.jpg', 'Corporate Identity - example 1', '553', '529')">
The openPopImg is a js function within the head tags.
|
|
|
|
|
I'm writing a .NET application in which I have a html page that uses a calendar based on html and javascript. The calendar itself has it's own html-file which contains mostly javascript. To start using the calendar a javascript-function has to be called. Like this:
The textbox:
<input type="text" readonly="true" size="11" class="formfield" name="DOB" onClick="popFrame.fPopCalendar(DOB,DOB,popCal);return false;" />
then the iframe where popFrame can be found:
<DIV id="popCal" onclick="event.cancelBubble=true" style="BORDER-RIGHT: 2px ridge; BORDER-TOP: 2px ridge; Z-INDEX: 100; VISIBILITY: hidden; BORDER-LEFT: 2px ridge; WIDTH: 10px; BORDER-BOTTOM: 2px ridge; POSITION: absolute">
<IFRAME frameBorder="0" height="220" name="popFrame" scrolling="no" src="pages/calendar/popdob.htm" width="183"></IFRAME></DIV>
the called html-page (popdob.htm) holds the fPopCalendar function.
All works fine in IE (and in NN when you select the IE engine to work with) but NOT in FireFox. I realy don't know why. The error-message I get is:
Error: popFrame.fPopCalendar is not a function
IE thinks otherwise...
Who can help?
-- modified at 10:39 Sunday 11th September, 2005
|
|
|
|