Forum Search:
phpHtmlLib
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » phpHtmlLib » Development » OnKlick parameter in html_a()
icon14.gif  OnKlick parameter in html_a() Tue, 27 September 2005 06:08 Go to next message
NoRegret  is currently offline NoRegret
Messages: 6
Registered: October 2003
Location: Munich
Newbie

From: mnprox11.epo.nl
Hi Walt,

for an earlier project I needed some kind of status window to display a progress bar. Therefore I changed your html_a() function and gave it a 6th parameter (OnClick) to perform some JS stuff to open the new status window.

Since I recently needed it again and was wondering why my code does not function although I just copied this piece from my older app. But by looking at the code I remembered that it was my own change and this got lost after an upgrade to the current version of your lib.

So maybe you are interested to include this functionality in later releases ....

The additional code in the html_a() function is just:

if ($onClick) {
$attributes["onclick"] = $onClick;
}

... and of course the additional parameter $onClick=NULL

Thanks again for this great library!

Cheers,
Hans.
Re: OnKlick parameter in html_a() Fri, 30 September 2005 17:58 Go to previous messageGo to next message
mpwalsh8  is currently offline mpwalsh8
Messages: 137
Registered: February 2004
Location: Cary, North Carolina
Senior Member

From: *dsl.mindspring.com
I am pretty sure you can accomplish what you are doing without having to modify the phpHtmlLib source.

$a = html_a("http://localhost", "localhost") ;
$a->set_attribute("onclick", "javascript:alert('Opening localhost');") ;


Mike


Mike Walsh - mike_walsh at mindspring dot com
Re: OnKlick parameter in html_a() Fri, 30 September 2005 21:20 Go to previous messageGo to next message
phphtmllib  is currently offline phphtmllib
Messages: 776
Registered: September 2002
Location: Cool, CA
Senior Member
Administrator

From: adsl-66-159-224-128.dslextreme.com
Thanks Mike, your post is correct.
Re: OnKlick parameter in html_a() Sat, 01 October 2005 03:45 Go to previous messageGo to next message
NoRegret  is currently offline NoRegret
Messages: 6
Registered: October 2003
Location: Munich
Newbie

From: *dip0.t-ipconnect.de
Embarassed hmm ... that's even more cool Wink

however, I had to use $a->set_tag_attribute("...") to make it work.

Thanks again,
Hans.
Re: OnKlick parameter in html_a() Wed, 16 May 2012 04:04 Go to previous message
haorenlaobai  is currently offline haorenlaobai
Messages: 9
Registered: May 2012
Newbie

From: 175.213.229*
2WfRCHah
This Article is written by louboutin to understand High Heels, attractive Shoes and christian louboutin kinds of widespread celebrities.Their product louboutin pas cher deliver the advantages that make the perception chaussures louboutin. Their advertising reinforces the perception.Every chaussure louboutin damn lady here is carrying a shocking dress. I want I had on a try of shorts or escarpins louboutin pants straight away. I hate being lost in a very crowd louboutin prix!Yanturni pushes concerning serious violet Genoese velvety, louboutin chaussures embroidered around along with gold leaf additionally as sporting a vast christian louboutin pas cher gemstone clasp.Barbie's hair could be a voluminous array of escarpin louboutin with a fiery red tint.. Finally, four pairs of shoes of chaussures louboutin pas cher own style are included.Thus you may have fully no chaussure louboutin pas cher downside whereas flaunting them at a high profile party.chaussures christian louboutin is only for this reason that ladies are flocking to,however life is simply too fleeting to allow you to continue trashing mine.

You can do this through making a research or by surfing the internet for ralph lauren polo shirts the vast majority of purchasers raves about. Careful ralph lauren uk research is however required as some of these ralph lauren sale are known to pass off fakes as originals.Due to the comfortable polo ralph lauren nature of these great looking shirts, many ralph lauren outlet staff forces order this type of shirt as a uniform top. ralph lauren polo shirts uk are available for both men and women and you can get ralph lauren polo shirts sale for different occasions like sports or just to wear on the beach.polo ralph lauren uk are a great solution if you don't have time to get a costume polo ralph lauren sale or if your child is very young or very old. Teenagers also enjoy cheap ralph lauren.The credibility of a store can be ensured by looking into the feedback session of their website. cheap ralph lauren polo shirts The cheapest embroidered polo shirts might not be the best value.

However, these products would wear and tear away in few days and then the customer is forced to buy a new one every now and then.These christian louboutin uk are great for hitting the dance floor and heating the louboutin uk, especially in a hot bright color with a bold printed cheap christian louboutin shoes.You just have to discuss with him which cheap christian louboutin match with your preferences. He can also help you shortlist your choices cheap louboutin shoes, It was the very dress Dani had her eye on. Nadia had obviously shortened it since it was barely meeting her mid-thigh.
Previous Topic:Make Up Your Style Statement With Hair Wig From Wakswigs
Next Topic:ugg
Goto Forum:
  


Current Time: Tue May 21 10:54:21 PDT 2013

Total time taken to generate the page: 0.23365 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.0.
Copyright ©2001-2009 FUDforum Bulletin Board Software