From ashari@knightswood.net Thu May 31 23:39:28 2001 From: Steven Hatfield To: users@lists.opensuse.org Subject: Seriously OT: Need help with HTML Date: Thu, 31 May 2001 19:39:25 -0400 Message-ID: <01053119392503.08967@lancelot> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5914632424841323228==" --===============5914632424841323228== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Hi All, I have a little deal where I need to run some javascript code when someone clicks on a link. The link shouldn't go anywhere.. let me explain. The link is on a person's name, and when they click on their name, I want to pop up a little window that gives them all of the information about themselves. I have the javascript already written, and the PHP code written to get the data from the database... it's the link part that is tripping me up now. I have this: [person's name] and it's working -- the window pops up and everything looks great... but the page that the link is on does different things in different browsers: IE5.x/Netscape 4.x/Mozilla 0.9: Tries to access the directory that the URL is in, subsequently getting a "directory browsing is denied" error. Konqueror: Works fine, but the link isn't underlined like a link is supposed to be. What can I do? Has anyone tried to do something like this before? Thanks for putting up with the off topic thread :-/ -Steven --===============5914632424841323228==-- From jb@jbpros.com Thu May 31 23:49:20 2001 From: Julien Biezemans To: users@lists.opensuse.org Subject: Re: [SLE] Seriously OT: Need help with HTML Date: Fri, 01 Jun 2001 01:46:03 +0200 Message-ID: <01060101460300.01382@athlon1ghz> In-Reply-To: <01053119392503.08967@lancelot> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0357501046256552652==" --===============0357501046256552652== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit On Friday 01 June 2001 01:39, Steven Hatfield wrote: > Hi All, > I have a little deal where I need to run some javascript code when someone > clicks on a link. The link shouldn't go anywhere.. let me explain. > > The link is on a person's name, and when they click on their name, I want > to pop up a little window that gives them all of the information about > themselves. I have the javascript already written, and the PHP code written > to get the data from the database... it's the link part that is tripping me > up now. > > I have this: > [person's name] Try '[person's name]' instead, IE will not go into the directory listing, it just refers to a blank internal link, contrarly from '' which is a link to the current working directory :) Ciao! Ju. > and it's working -- the window pops up and everything looks great... but > the page that the link is on does different things in different browsers: > IE5.x/Netscape 4.x/Mozilla 0.9: Tries to access the directory that the URL > is in, subsequently getting a "directory browsing is denied" error. > Konqueror: Works fine, but the link isn't underlined like a link is > supposed to be. > > What can I do? Has anyone tried to do something like this before? > > Thanks for putting up with the off topic thread :-/ > > -Steven --===============0357501046256552652==-- From ashari@knightswood.net Fri Jun 1 00:00:13 2001 From: Steven Hatfield To: users@lists.opensuse.org Subject: Re: [SLE] Seriously OT: Need help with HTML Date: Thu, 31 May 2001 20:00:04 -0400 Message-ID: <01053120000404.08967@lancelot> In-Reply-To: <01060101460300.01382@athlon1ghz> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============9182244856224821218==" --===============9182244856224821218== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit On Thursday 31 May 2001 07:46 pm, Julien Biezemans wrote: > On Friday 01 June 2001 01:39, Steven Hatfield wrote: > > Hi All, > > I have a little deal where I need to run some javascript code when > > someone clicks on a link. The link shouldn't go anywhere.. let me > > explain. > > > > The link is on a person's name, and when they click on their name, I want > > to pop up a little window that gives them all of the information about > > themselves. I have the javascript already written, and the PHP code > > written to get the data from the database... it's the link part that is > > tripping me up now. > > > > I have this: > > [person's name] > > Try '[person's name]' instead, IE will > not go into the directory listing, it just refers to a blank internal link, > contrarly from '' which is a link to the current working directory :) > > Ciao! > > Ju. > > > and it's working -- the window pops up and everything looks great... but > > the page that the link is on does different things in different browsers: > > IE5.x/Netscape 4.x/Mozilla 0.9: Tries to access the directory that the > > URL is in, subsequently getting a "directory browsing is denied" error. > > Konqueror: Works fine, but the link isn't underlined like a link is > > supposed to be. > > > > What can I do? Has anyone tried to do something like this before? > > > > Thanks for putting up with the off topic thread :-/ > > > > -Steven Thank you, that seems to have done the trick :-) -Steven --===============9182244856224821218==-- From andrew@andrewsmith.plus.com Tue Jun 5 10:12:31 2001 From: Andrew Smith To: users@lists.opensuse.org Subject: RE: [SLE] Seriously OT: Need help with HTML Date: Tue, 05 Jun 2001 11:12:43 +0100 Message-ID: In-Reply-To: <01053119392503.08967@lancelot> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5485483165544069272==" --===============5485483165544069272== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Hi Sorry for the late reply, but you may find this way better: ClickMe! This doesn't use Javascript, so is much more compatible with a wider variety of browsers or if Javascript has been disabled for security purposes. The TARGET variable tells the browser what window/frame to open the page in. In this case, the frame 'popup' doesn't exist, so a new browser window is opened. If you need to set the size/position of the popup, then you'll have to use Javascript, although you could put it in the popup window itself and use the above method to call the window. I hope this helps, Andrew -----Original Message----- From: Steven Hatfield [mailto:ashari(a)knightswood.net] Sent: 01 June 2001 00:39 To: SuSE Mailing List Subject: [SLE] Seriously OT: Need help with HTML Hi All, I have a little deal where I need to run some javascript code when someone clicks on a link. The link shouldn't go anywhere.. let me explain. The link is on a person's name, and when they click on their name, I want to pop up a little window that gives them all of the information about themselves. I have the javascript already written, and the PHP code written to get the data from the database... it's the link part that is tripping me up now. I have this: [person's name] and it's working -- the window pops up and everything looks great... but the page that the link is on does different things in different browsers: IE5.x/Netscape 4.x/Mozilla 0.9: Tries to access the directory that the URL is in, subsequently getting a "directory browsing is denied" error. Konqueror: Works fine, but the link isn't underlined like a link is supposed to be. What can I do? Has anyone tried to do something like this before? Thanks for putting up with the off topic thread :-/ -Steven -- To unsubscribe send e-mail to suse-linux-e-unsubscribe(a)suse.com For additional commands send e-mail to suse-linux-e-help(a)suse.com Also check the FAQ at http://www.suse.com/support/faq and the archives at http://lists.suse.com --===============5485483165544069272==--