|
AndrewVos wrote: Here's the code i added, which doesn't work...
What do you mean? What happens when you use that bit of code?
Trinity: Neo... nobody has ever done this before.
Neo: That's why it's going to work.
|
|
|
|
|
Well, the .NET Search button doesn't show as selected when on that page.
How would I do an If url = someurl in php?
Also, what is the link for the search page in wordpress?
www.wickedorange.com
|
|
|
|
|
When I need to do php stuff inside html, I build the string and then echo it.
<?php
$strHtml = "<div id=\"header\"></div>";
$strHtml .= "<div id=\"container\">";
$strHtml .= "<ul id=\"nav\">";
$strHtml .= "<li ";
if (is_home())
{
$strHtml .= "id=\"current\"";
}
$strHtml .= ">"
$strHtml .= get_settings('home');
$strHtml .= " title=\"home\">home</a>";
$strHtml .= "</li>";
$strHtml .= "<li>";
$strHtml .= "<a href=\"?paged_id=110\">.NET Search</a>";
$strHtml .= "</li>";
$strHtml .= "</ul>";
$strHtml .= "</div>";
echo $strHtml;
?>
You also have an extra /ul and were missing a /div...
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
Just to be the little nit picker I am, echo'ing text takes 1/4 more time then leaving it outside of PHP tags. Usefull fact when printing over 1,000,000 records.
|
|
|
|
|
Hello, is there any way to change input type=file's browse button in my language
Thanks
Best Regards
|
|
|
|
|
I am affraid it's not possible - but I might be wrong so if someone knows some solution I'll be happy to know as well.
"Throughout human history, we have been dependent on machines to survive. Fate, it seems, is not without a sense of irony. " - Morpheus
|
|
|
|
|
Perhaps the W3c has implemented a way to do this.... oh wait... they are incompetent.
|
|
|
|
|
hi!
i m developing EMail client in C# asp.net web application using kerio mail server.
I have sent and received emails using SMTP and POP3 dlls.But i dont know how to add new user of particular domain on my server using c#.
Plz reply soon
thanx
|
|
|
|
|
Please stop cross posting.
---
single minded; short sighted; long gone;
|
|
|
|
|
Hi,
I am working on an expandable left-side menu using Javascript. It has three level. While it works fine in IE, the submenus could not be opened in Firefox. Anyone knows why??
The function I used to open the topTreeMenu is like:
function openTopTree(n)
{
var item_cel=document.getElementById('topTreeTable').cells[2*n+1];
if(item_cel.innerHTML=="")
{
closeTopTree();
treeImg[n].src="../images/redarrow3.png";
switch(n)
{
case 0 : {item_cel.innerHTML=item00_all;break;}
case 1 : {item_cel.innerHTML=item01_all;break;}
case 2 : {item_cel.innerHTML=item02_all;break;}
case 3 : {item_cel.innerHTML=item03_all;break;}
case 4 : {item_cel.innerHTML=item04_all;break;}
case 5 : {item_cel.innerHTML=item05_all;break;}
case 6 : {item_cel.innerHTML=item06_all;break;}
}
}
else
closeTopTree();
}
But in Firefox Javascript console, the browser says "document.getElementById('topTreeTable').cells[2*n+1] has no properties". Anyone knows why and how to fix it??
Thanks a lot!
Iris
|
|
|
|
|
To things:
1. please post the HTML for the table
2. Which line does it say the error is in?
Brad
Australian
- Christian Graus on "Best books for VBscript"
A big thick one, so you can whack yourself on the head with it.
|
|
|
|
|
document.getElementbyId('topTreeTable') is returning a table element but cells is not a property of a table. You want rows and then you'd have to pull the cells out for each row. Use Firebug to see the properties of any DOM node on a page.
|
|
|
|
|
Thanks! I have realized the problem, but don't know how to fix it. What is Firebug?? Do you think if the DOM nodes go properly, Firefox should take it? Because I am even thinking of giving up Javascript, to use some other Menu approaches, such as CSS or ASP....Anyway, I will try Firebug first now..Thanks again!
Iris;)
|
|
|
|
|
Hi everybody,
Could u help me out. I need to save an image to my database(on my site).I am developing the site using ASP. I am able to search for text info. I now need to incorporate images so i need to know how to upload them in the first place.
|
|
|
|
|
|
How to SSO in Websphere version 6 ? Is it possible to enable it using ant
Sukanta Chattopadhyay
|
|
|
|
|
OK, this as a follow-up to this thread[^], I would like to check if a file exists using javascript; what I need is actually ... code, not the idea how to do it, because I have no knowledge of javascript. This is only for a small macro in javascript, so I do not want to start and learn javascript for one example.
Thanks, guys !
Last modified: 50mins after originally posted --
Company policy : no access to the internet but CP
~RaGE()
|
|
|
|
|
Do you want to check for a client side or a server side file?
Brad
Australian
- Christian Graus on "Best books for VBscript"
A big thick one, so you can whack yourself on the head with it.
|
|
|
|
|
Hi Brad, thanks for your trying to help. Actually, the file is somewhere on the network, so sort of both on server and client side (since you can access to the file from both). I also just realized that javascript is not capable of accessing to the file system AFAIK, so I guess this is going to be java.
Company policy : no access to the internet but CP
~RaGE()
|
|
|
|
|
I am attempting to create a web service that will send and received XML messages via SOAP. I am not certain which way to go on creating my client app. Ultimately , i have an application written in C++ that will have to ultimately receive the message, but is using C++ as a client much more difficult to code than using C#? Any advice or direction is appreciated.
Thanks,
|
|
|
|
|
Yes, because C# has support for all that built in. But, I'm sure there are libraries in C++, there just won't be the same IDE support.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
Anyone got any web sites/applications they'd pick out as good examples of DHTML etc?
Thx++
Jerry
|
|
|
|
|
The Yahoo Ajax library has some great Dhtml examples.
Brad
Australian
- Christian Graus on "Best books for VBscript"
A big thick one, so you can whack yourself on the head with it.
|
|
|
|
|
JavascriptKit has good tutorials and examples.
Trinity: Neo... nobody has ever done this before.
Neo: That's why it's going to work.
|
|
|
|
|
Using client side JS only (i.e. no .NET controls) is it possible to drag from (say) the desktop and drop onto a form/control in the browser. Can anyone point me in the direction of an example if such a thing exists?
Thx++
Jerry
|
|
|
|