Thanks Dan - ahhh yes ie.js was left over from the previous site design and I forgot to remove *hangs head in shame*. Many thanks for spotting this! Have a virtual beverage of your choice on me :)
I do see what you mean about ad blockers. Funny thing is the header does have a fixed height, but...
Thanks Dan, your comments are appreciated. Regarding FF2 we are aware of display issues but a business decision not to support FF2 with this site has been taken given the low market share of FF2 (due to the rapid uptake of FF3).
Back to the original problem: if I describe what happens in IE7...
Ahh yes, my mistake - I should have said that if you click on a link that has a sub menu, ie: Award -> About the Award then the ID is created just for the tab that you have selected the sub menu under.
That way there is only ever one subdisplayrow ID on the page, hence the above code will apply...
I have the following code on my page:
<SCRIPT LANGUAGE="JAVASCRIPT" TYPE="TEXT/JAVASCRIPT">
<!--
function hidesubmenu()
{
document.getElementById('subdisplayrow').style.display='none';
}
function showsubmenu()
{
document.getElementById('subdisplayrow').style.display='block';
}
//-->...
Tidy is the perfect answer, but having just checked it is unfortunately not available on the ISP in question :(
I may just have to do a good-ole fashioned XSL transformation *sigh*.
-C
I am using SimpleXML as follows:
$result = $objSimpleXML->asxml();
echo "<pre>".htmlspecialchars($result)."</pre>"
to output some XML to the browser window, however it is appearing as:
<a><b><c></c></b></a>
but I would like it to appear indented (and thus readable!):
<a>
<b>
<c></c>...
I am trying to use SOAP in PHP to retrieve data via an MS .NET web service for work. However I see the following error message:
I have read the help available at http://uk.php.net/manual/en/function.soap-soapclient-soapcall.php#76831 which describes this exact problem, but do not understand...
ahah making progress!
route add 192.168.200.173 192.168.205.254
^-- tells the sun box to look to a second router beyond the first (in lamens terms).
Now DNS reverse lookup works fine, eg:
traceroute www.apple.com
correctly gives me Apple's IP.
However HTTP in Mozilla and FTP at the shell...
Oh I should also add that I did choose DNS when installing the OS... and that the OS in question is Solaris 8 SPARC.
Not that that matters as it's actually a dual-boot machine and I'm having the exact same problem in Sol 10;)
At work I am attempting to configure internet access for a Sun Blade 1000 which uses eri0 as its primary interface.
The catch is that the subnet that the Sun box is connected to differs from that which the internet router is connected.
On a Win 2k box I would just set the following:
IP =...
Hi
Although my install of PHP has Expat enabled, when I execute:
$parser = xslt_create();
The "first" time (defined as first time I load my web browser and point to the applicable PHP page on the internet, or after approx. 30 mins of inactivity if I reload the page) I do this I see:
Fatal...
I think I stumbled onto the solution to the problem - documenting it here in case anyone else has this.
The correct encoding is UTF-8 - however the text from the form needs to be encoded in this before being parsed by the XSL transformation into XML. To do this I simply change the code:
{...
Hi
I am trying to accept the character á (0225 - an 'a' with an accent) in a web form that is processed by PHP. I am using PHP PHP 5.0.4 with Apache 2.0.54 on Windows (although later this will be moved to Fedora)
In my form, I have a text entry field. If I enter standard ascii, for example "a"...
I need these elements because I am generating a TestSuite of TestCases in an XML file format to be played back through Compuware's TestPartner automated test tool. Each <testcase/> must have both oid and uid attributes - the uid defines the unique identifier for the TestCase - which means that...
Ahah! Good point - but if I have to ID attributes - one denoting its "unique"ness and the other its order I could have:
<something uid="1" oid="1" />
<something uid="2" oid="2" />
to start with, but later want:
<something uid="2" oid="1" />
<something uid="1" oid="2" />
To facilitate...
After reading around Google search results, and experimenting a bit I'm stuck with trying to renumber elements in an XML source via XSLT.
If I have something like:
<something uid="1" />
<something uid="2" />
<something uid="3" />
What would be the most straight-forward XSLT code to allow me...
Zend's offering is not listed on that FAQ. Although I find it a little slow (certainly on Mac OS X) I like the presentation, and the general "thinking" behind the app. Hard to describe exactly what I mean, but as there's a free trial available for it, you may as well give it a go...
Thinking about this one a little bit more - I am of course making the assumption that the XML and XSLT that the PHP5 XSL extension can handle is the same as that for the PHP4 XSLT extension using Sablotron. Is this the case?
If it is, I'm still stuck - I retried my code again on a PHP4...
I have seen this kind of "headers already sent" error before. The two causes for myself (may be different for you though) were:
1) I accidentally had session_start() in an include file as well as in my main body of code.
2) I sent HTML to the output before a session_start()
The second one I'm...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.