Help!

Hyperlink as a command action

 
  

Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Client RSS
Next:  new database. need help with tables and relations..  
Author Message
Jim Campbell
External


Since: Jul 29, 2009
Posts: 1



PostPosted: Wed Jul 29, 2009 7:50 am    Post subject: Hyperlink as a command action
Archived from groups: microsoft>public>frontpage>client (more info?)

We are attempting to design a web page as a control front end for devices. To
do this we create a hyperlink to send the html command that triggers the
device. This part works. The problem we are having is when the link is
clicked to perform the action it also opens a blank page. What we would like
it to be able to click on the button with the underlying hyperlink and have
the html command sent, but stay on the same page.

Any help is appreciated.
Back to top
Singapore Computer Servic
External


Since: Jul 16, 2009
Posts: 4



PostPosted: Wed Jul 29, 2009 12:10 pm    Post subject: Re: Hyperlink as a command action [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hello,

Open the link in a new window (set the target to _blank).

Or you can use JavaScript to show a image like
<img src="http://ww.apple.com/index.html"> when a link is clicked.

Or you can use AJAX, to call the link in the background.

Regards,
Singapore Computer Home Repair Service
http://www.bootstrike.com/ComputerService/
Video Conversion VHS Video8 Hi8 Digital8 MiniDv MicroMv
http://www.bootstrike.com/VHSVideoConvert/
"Jim Campbell" <Jim Campbell DeleteThis @discussions.microsoft.com> wrote in message
news:E645882C-2016-4E12-BB4E-F7059145A4CE@microsoft.com...
> We are attempting to design a web page as a control front end for devices.
> To
> do this we create a hyperlink to send the html command that triggers the
> device. This part works. The problem we are having is when the link is
> clicked to perform the action it also opens a blank page. What we would
> like
> it to be able to click on the button with the underlying hyperlink and
> have
> the html command sent, but stay on the same page.
>
> Any help is appreciated.
Back to top
Jim Campbell
External


Since: Jul 29, 2009
Posts: 2



PostPosted: Wed Jul 29, 2009 12:10 pm    Post subject: Re: Hyperlink as a command action [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Thank you for the info. Tried to set the target to blank, but now instead of
returning just a plain empty screen the screen comes back with a windows
internet browser screen and the command is shown in the address bar. The
command does still function.

Not familar with AJAX. We are not publishing the page to a server, but just
to a folder on the PC. Don't know if that means anything, but in terms of
using AJAX someone mentioned that the page will need to be posted on a server.

Again, appreciate the help

JIm Campbell

"Singapore Computer Service" wrote:

> Hello,
>
> Open the link in a new window (set the target to _blank).
>
> Or you can use JavaScript to show a image like
> <img src="http://ww.apple.com/index.html"> when a link is clicked.
>
> Or you can use AJAX, to call the link in the background.
>
> Regards,
> Singapore Computer Home Repair Service
> http://www.bootstrike.com/ComputerService/
> Video Conversion VHS Video8 Hi8 Digital8 MiniDv MicroMv
> http://www.bootstrike.com/VHSVideoConvert/
> "Jim Campbell" <Jim Campbell.DeleteThis@discussions.microsoft.com> wrote in message
> news:E645882C-2016-4E12-BB4E-F7059145A4CE@microsoft.com...
> > We are attempting to design a web page as a control front end for devices.
> > To
> > do this we create a hyperlink to send the html command that triggers the
> > device. This part works. The problem we are having is when the link is
> > clicked to perform the action it also opens a blank page. What we would
> > like
> > it to be able to click on the button with the underlying hyperlink and
> > have
> > the html command sent, but stay on the same page.
> >
> > Any help is appreciated.
>
>
>
Back to top
Singapore Computer Servic
External


Since: Jul 16, 2009
Posts: 4



PostPosted: Wed Jul 29, 2009 3:10 pm    Post subject: Re: Hyperlink as a command action [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hello,

Put this code somewhere in the page
<iframe name="hiddenframe" width="1" height="1"></iframe>

Now set the target to hiddenframe and it should be what you expect. The page
will load in the iframe, which is just a pixel wide

Regards,
Singapore Computer Home Repair Service
http://www.bootstrike.com/ComputerService/
Video Conversion VHS Video8 Hi8 Digital8 MiniDv MicroMv
http://www.bootstrike.com/VHSVideoConvert/
"Jim Campbell" <JimCampbell DeleteThis @discussions.microsoft.com> wrote in message
news:088DB5A9-26EE-4BB9-B301-2AD7CC07BCD8@microsoft.com...
> Thank you for the info. Tried to set the target to blank, but now instead
> of
> returning just a plain empty screen the screen comes back with a windows
> internet browser screen and the command is shown in the address bar. The
> command does still function.
>
> Not familar with AJAX. We are not publishing the page to a server, but
> just
> to a folder on the PC. Don't know if that means anything, but in terms of
> using AJAX someone mentioned that the page will need to be posted on a
> server.
>
> Again, appreciate the help
>
> JIm Campbell
>
> "Singapore Computer Service" wrote:
>
>> Hello,
>>
>> Open the link in a new window (set the target to _blank).
>>
>> Or you can use JavaScript to show a image like
>> <img src="http://ww.apple.com/index.html"> when a link is clicked.
>>
>> Or you can use AJAX, to call the link in the background.
>>
>> Regards,
>> Singapore Computer Home Repair Service
>> http://www.bootstrike.com/ComputerService/
>> Video Conversion VHS Video8 Hi8 Digital8 MiniDv MicroMv
>> http://www.bootstrike.com/VHSVideoConvert/
>> "Jim Campbell" <Jim Campbell DeleteThis @discussions.microsoft.com> wrote in message
>> news:E645882C-2016-4E12-BB4E-F7059145A4CE@microsoft.com...
>> > We are attempting to design a web page as a control front end for
>> > devices.
>> > To
>> > do this we create a hyperlink to send the html command that triggers
>> > the
>> > device. This part works. The problem we are having is when the link is
>> > clicked to perform the action it also opens a blank page. What we would
>> > like
>> > it to be able to click on the button with the underlying hyperlink and
>> > have
>> > the html command sent, but stay on the same page.
>> >
>> > Any help is appreciated.
>>
>>
>>
Back to top
Jim Campbell
External


Since: Jul 29, 2009
Posts: 2



PostPosted: Wed Jul 29, 2009 3:10 pm    Post subject: Re: Hyperlink as a command action [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Will try, again thank alot for taking the time to respond. Let you know

"Singapore Computer Service" wrote:

> Hello,
>
> Put this code somewhere in the page
> <iframe name="hiddenframe" width="1" height="1"></iframe>
>
> Now set the target to hiddenframe and it should be what you expect. The page
> will load in the iframe, which is just a pixel wide
>
> Regards,
> Singapore Computer Home Repair Service
> http://www.bootstrike.com/ComputerService/
> Video Conversion VHS Video8 Hi8 Digital8 MiniDv MicroMv
> http://www.bootstrike.com/VHSVideoConvert/
> "Jim Campbell" <JimCampbell DeleteThis @discussions.microsoft.com> wrote in message
> news:088DB5A9-26EE-4BB9-B301-2AD7CC07BCD8@microsoft.com...
> > Thank you for the info. Tried to set the target to blank, but now instead
> > of
> > returning just a plain empty screen the screen comes back with a windows
> > internet browser screen and the command is shown in the address bar. The
> > command does still function.
> >
> > Not familar with AJAX. We are not publishing the page to a server, but
> > just
> > to a folder on the PC. Don't know if that means anything, but in terms of
> > using AJAX someone mentioned that the page will need to be posted on a
> > server.
> >
> > Again, appreciate the help
> >
> > JIm Campbell
> >
> > "Singapore Computer Service" wrote:
> >
> >> Hello,
> >>
> >> Open the link in a new window (set the target to _blank).
> >>
> >> Or you can use JavaScript to show a image like
> >> <img src="http://ww.apple.com/index.html"> when a link is clicked.
> >>
> >> Or you can use AJAX, to call the link in the background.
> >>
> >> Regards,
> >> Singapore Computer Home Repair Service
> >> http://www.bootstrike.com/ComputerService/
> >> Video Conversion VHS Video8 Hi8 Digital8 MiniDv MicroMv
> >> http://www.bootstrike.com/VHSVideoConvert/
> >> "Jim Campbell" <Jim Campbell DeleteThis @discussions.microsoft.com> wrote in message
> >> news:E645882C-2016-4E12-BB4E-F7059145A4CE@microsoft.com...
> >> > We are attempting to design a web page as a control front end for
> >> > devices.
> >> > To
> >> > do this we create a hyperlink to send the html command that triggers
> >> > the
> >> > device. This part works. The problem we are having is when the link is
> >> > clicked to perform the action it also opens a blank page. What we would
> >> > like
> >> > it to be able to click on the button with the underlying hyperlink and
> >> > have
> >> > the html command sent, but stay on the same page.
> >> >
> >> > Any help is appreciated.
> >>
> >>
> >>
>
>
>
Back to top
Steve Easton
External


Since: Oct 15, 2003
Posts: 8044



PostPosted: Fri Jul 31, 2009 7:11 pm    Post subject: Re: Hyperlink as a command action [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

You would have much better luck doing that in an .hta ( HTML Application ) page.

--

Steve Easton
Microsoft MVP FrontPage
FP Cleaner
http://www.95isalive.com/fixes/fpclean.htm
Hit Me FP
http://www.95isalive.com/fixes/HitMeFP.htm


"Jim Campbell" <Jim Campbell.RemoveThis@discussions.microsoft.com> wrote in message
news:E645882C-2016-4E12-BB4E-F7059145A4CE@microsoft.com...
> We are attempting to design a web page as a control front end for devices. To
> do this we create a hyperlink to send the html command that triggers the
> device. This part works. The problem we are having is when the link is
> clicked to perform the action it also opens a blank page. What we would like
> it to be able to click on the button with the underlying hyperlink and have
> the html command sent, but stay on the same page.
>
> Any help is appreciated.
Back to top
Display posts from previous:   
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Client All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum