Re: [PHP] php image and javascript include

2008-09-14 Thread Børge Holen
On Saturday 13 September 2008 23:35:47 Ashley Sheridan wrote:
 On Sat, 2008-09-13 at 23:24 +0200, Børge Holen wrote:
  On Saturday 13 September 2008 01:34:41 Ashley Sheridan wrote:
   I've never been a huge fan of Vi or Vim, but I am a fan of coding in a
   text editor, not a GUI, I just guess I prefer Kate. I know for certain
   that one thing that really bugs me about Dreamweaver is the fact that
   it has a tendency to really nerf up the spacing, and it replaces tabs
   with spaces more often than not. It's all about the tabs to space
   things out, adding spaces just makes the files bigger!
 
  Oh, thats just how you set up DW, options on indentations is througoutly
  documented inside the preferences pane and quite a few options to go,
  only thing that is wrong with it is the way it can't handle large
  projects, say like more than 100 files. nevermind the filesize...
 
   Ash
   www.ashleysheridan.co.uk
 
  --
  ---
  Børge Holen
  http://www.arivene.net

 I've worked on projects like that before, but never considered DW, I
 used Notepad++ instead, as I was forced to use Windows at work at the
 time. I never really had any reason to try to open all the files at once
 though... ;)

Thats not what I was talking abount either,The tree view of project files 
cannot handle many files before the waiting gets annoying



 Ash
 www.ashleysheridan.co.uk



-- 
---
Børge Holen
http://www.arivene.net

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] php image and javascript include

2008-09-14 Thread Ashley Sheridan
On Sun, 2008-09-14 at 10:23 +0200, Børge Holen wrote:
 On Saturday 13 September 2008 23:35:47 Ashley Sheridan wrote:
  On Sat, 2008-09-13 at 23:24 +0200, Børge Holen wrote:
   On Saturday 13 September 2008 01:34:41 Ashley Sheridan wrote:
I've never been a huge fan of Vi or Vim, but I am a fan of coding in a
text editor, not a GUI, I just guess I prefer Kate. I know for certain
that one thing that really bugs me about Dreamweaver is the fact that
it has a tendency to really nerf up the spacing, and it replaces tabs
with spaces more often than not. It's all about the tabs to space
things out, adding spaces just makes the files bigger!
  
   Oh, thats just how you set up DW, options on indentations is througoutly
   documented inside the preferences pane and quite a few options to go,
   only thing that is wrong with it is the way it can't handle large
   projects, say like more than 100 files. nevermind the filesize...
  
Ash
www.ashleysheridan.co.uk
  
   --
   ---
   Børge Holen
   http://www.arivene.net
 
  I've worked on projects like that before, but never considered DW, I
  used Notepad++ instead, as I was forced to use Windows at work at the
  time. I never really had any reason to try to open all the files at once
  though... ;)
 
 Thats not what I was talking abount either,The tree view of project files 
 cannot handle many files before the waiting gets annoying
 
 
 
  Ash
  www.ashleysheridan.co.uk
 
 
 
 -- 
 ---
 Børge Holen
 http://www.arivene.net
 
Tree view of a project, now there's an idea. Of course, real programmers
keep it all in their heads... Nah, I guess I've just not worked on
anything complex enough that I've needed the tree view yet. Mind you,
this new project I've been assigned to could well be going that way.
It's a mess of a system written in C# and it keeps crashing regularly to
boot. Somewhere along the line I think a sadist got involved in the
project, because it's really painful to work with sometimes...


Ash
www.ashleysheridan.co.uk


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] php image and javascript include

2008-09-13 Thread Børge Holen
On Saturday 13 September 2008 01:34:41 Ashley Sheridan wrote:
 I've never been a huge fan of Vi or Vim, but I am a fan of coding in a
 text editor, not a GUI, I just guess I prefer Kate. I know for certain
 that one thing that really bugs me about Dreamweaver is the fact that it
 has a tendency to really nerf up the spacing, and it replaces tabs with
 spaces more often than not. It's all about the tabs to space things out,
 adding spaces just makes the files bigger!

Oh, thats just how you set up DW, options on indentations is througoutly 
documented inside the preferences pane and quite a few options to go, only 
thing that is wrong with it is the way it can't handle large projects, say 
like more than 100 files. nevermind the filesize...



 Ash
 www.ashleysheridan.co.uk



-- 
---
Børge Holen
http://www.arivene.net

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] php image and javascript include

2008-09-13 Thread Ashley Sheridan
On Sat, 2008-09-13 at 23:24 +0200, Børge Holen wrote:
 On Saturday 13 September 2008 01:34:41 Ashley Sheridan wrote:
  I've never been a huge fan of Vi or Vim, but I am a fan of coding in a
  text editor, not a GUI, I just guess I prefer Kate. I know for certain
  that one thing that really bugs me about Dreamweaver is the fact that it
  has a tendency to really nerf up the spacing, and it replaces tabs with
  spaces more often than not. It's all about the tabs to space things out,
  adding spaces just makes the files bigger!
 
 Oh, thats just how you set up DW, options on indentations is througoutly 
 documented inside the preferences pane and quite a few options to go, only 
 thing that is wrong with it is the way it can't handle large projects, say 
 like more than 100 files. nevermind the filesize...
 
 
 
  Ash
  www.ashleysheridan.co.uk
 
 
 
 -- 
 ---
 Børge Holen
 http://www.arivene.net
 
I've worked on projects like that before, but never considered DW, I
used Notepad++ instead, as I was forced to use Windows at work at the
time. I never really had any reason to try to open all the files at once
though... ;)


Ash
www.ashleysheridan.co.uk


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] php image and javascript include

2008-09-13 Thread Tom Shaw
I'm a big fan of Zend Studio 5. It's pretty hard to beat considering how fast 
you can code load up the page refresh, and the editor itself is very clean plus 
it works in linux. I know a lot of people like to soft tab but I just don’t 
have the patience. Hard tabs all the way for me.

Tom Shaw
[EMAIL PROTECTED]

-Original Message-
From: Ashley Sheridan [mailto:[EMAIL PROTECTED] 
Sent: Saturday, September 13, 2008 4:36 PM
To: Børge Holen
Cc: php-general@lists.php.net
Subject: Re: [PHP] php image and javascript include

On Sat, 2008-09-13 at 23:24 +0200, Børge Holen wrote:
 On Saturday 13 September 2008 01:34:41 Ashley Sheridan wrote:
  I've never been a huge fan of Vi or Vim, but I am a fan of coding in a
  text editor, not a GUI, I just guess I prefer Kate. I know for certain
  that one thing that really bugs me about Dreamweaver is the fact that it
  has a tendency to really nerf up the spacing, and it replaces tabs with
  spaces more often than not. It's all about the tabs to space things out,
  adding spaces just makes the files bigger!
 
 Oh, thats just how you set up DW, options on indentations is througoutly 
 documented inside the preferences pane and quite a few options to go, only 
 thing that is wrong with it is the way it can't handle large projects, say 
 like more than 100 files. nevermind the filesize...
 
 
 
  Ash
  www.ashleysheridan.co.uk
 
 
 
 -- 
 ---
 Børge Holen
 http://www.arivene.net
 
I've worked on projects like that before, but never considered DW, I
used Notepad++ instead, as I was forced to use Windows at work at the
time. I never really had any reason to try to open all the files at once
though... ;)


Ash
www.ashleysheridan.co.uk


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] php image and javascript include

2008-09-12 Thread Luke
there's three letters

VIM!

You can make that do most anything if you trawl the scripts site. . .

2008/9/9 Ashley Sheridan [EMAIL PROTECTED]

 Kate has an auto text feature, and you can set it to start prompting
 from typing in as few characters as you wish, although it only prompts
 for things you've already typed, it this does save you from making
 obvious variable name typos as it will prompt the next time you try to
 use it, and it recognises many, many more languages than DW.

 If you're just after the code view, Dreamweaver is a little heavy, and
 it runs on an OS which is also a bit heavy, but that's for another
 discussion!


 Ash
 www.ashleysheridan.co.uk


 -- Forwarded message --
 From: Børge Holen [EMAIL PROTECTED]
 To: php-general@lists.php.net
 Date: Mon, 08 Sep 2008 14:57:34 +0200
 Subject: Re: [PHP] php image and javascript include
 On Monday 08 September 2008 14:53:24 Jay Moore wrote:
   Dreamweaver? Eclipse? Pah, it's all about using a text editor! Kate (on
   KDE) is my preference ;)
 
  Heathen!
 
  Dreamweaver is awesome.  Not for their WYSIWYG editor, but for their
  code-only view and its auto-complete.
 
  Never have I typed so little to get so... little.

 I thought so to, till I tried quanta+

 
  Jay



 --
 ---
 Børge Holen
 http://www.arivene.net

 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php


 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php




-- 
Luke Slater


Re: [PHP] php image and javascript include

2008-09-12 Thread Børge Holen
On Friday 12 September 2008 12:02:13 you wrote:
 there's three letters

 VIM!

yes and amiga still kicks ass. The old fashioned way works, ok. But ... after 
a while, you still do the same old thing the same old way, while everything 
passes you by. I love vim for reading and editing a file here or there, make 
a script to do some backup there, shortcuts for doing a lot of small thing.
Still I draw a line when having to do projects with more than a few files, 
there are new and better ways.
But your not that far off, I feel sorry for those guys still thinking nano and 
joe is the world ;D


 You can make that do most anything if you trawl the scripts site. . .

 2008/9/9 Ashley Sheridan [EMAIL PROTECTED]

  Kate has an auto text feature, and you can set it to start prompting
  from typing in as few characters as you wish, although it only prompts
  for things you've already typed, it this does save you from making
  obvious variable name typos as it will prompt the next time you try to
  use it, and it recognises many, many more languages than DW.
 
  If you're just after the code view, Dreamweaver is a little heavy, and
  it runs on an OS which is also a bit heavy, but that's for another
  discussion!
 
 
  Ash
  www.ashleysheridan.co.uk
 
 
  -- Forwarded message --
  From: Børge Holen [EMAIL PROTECTED]
  To: php-general@lists.php.net
  Date: Mon, 08 Sep 2008 14:57:34 +0200
  Subject: Re: [PHP] php image and javascript include
 
  On Monday 08 September 2008 14:53:24 Jay Moore wrote:
Dreamweaver? Eclipse? Pah, it's all about using a text editor! Kate
(on KDE) is my preference ;)
  
   Heathen!
  
   Dreamweaver is awesome.  Not for their WYSIWYG editor, but for their
   code-only view and its auto-complete.
  
   Never have I typed so little to get so... little.
 
  I thought so to, till I tried quanta+
 
   Jay
 
  --
  ---
  Børge Holen
  http://www.arivene.net
 
  --
  PHP General Mailing List (http://www.php.net/)
  To unsubscribe, visit: http://www.php.net/unsub.php
 
 
  --
  PHP General Mailing List (http://www.php.net/)
  To unsubscribe, visit: http://www.php.net/unsub.php



-- 
---
Børge Holen
http://www.arivene.net

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] php image and javascript include

2008-09-12 Thread Robert Cummings
On Fri, 2008-09-12 at 15:11 +0200, Børge Holen wrote:
 On Friday 12 September 2008 12:02:13 you wrote:
  there's three letters
 
  VIM!
 
 yes and amiga still kicks ass. The old fashioned way works, ok. But ... after 
 a while, you still do the same old thing the same old way, while everything 
 passes you by. I love vim for reading and editing a file here or there, make 
 a script to do some backup there, shortcuts for doing a lot of small thing.
 Still I draw a line when having to do projects with more than a few files, 
 there are new and better ways.
 But your not that far off, I feel sorry for those guys still thinking nano 
 and 
 joe is the world ;D

Keep your pity, I'm in no need of it :)

Cheers,
Rob.
-- 
http://www.interjinn.com
Application and Templating Framework for PHP


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] php image and javascript include

2008-09-12 Thread Ashley Sheridan
I've never been a huge fan of Vi or Vim, but I am a fan of coding in a
text editor, not a GUI, I just guess I prefer Kate. I know for certain
that one thing that really bugs me about Dreamweaver is the fact that it
has a tendency to really nerf up the spacing, and it replaces tabs with
spaces more often than not. It's all about the tabs to space things out,
adding spaces just makes the files bigger!


Ash
www.ashleysheridan.co.uk
---BeginMessage---
On Fri, 2008-09-12 at 15:11 +0200, Børge Holen wrote:
 On Friday 12 September 2008 12:02:13 you wrote:
  there's three letters
 
  VIM!
 
 yes and amiga still kicks ass. The old fashioned way works, ok. But ... after 
 a while, you still do the same old thing the same old way, while everything 
 passes you by. I love vim for reading and editing a file here or there, make 
 a script to do some backup there, shortcuts for doing a lot of small thing.
 Still I draw a line when having to do projects with more than a few files, 
 there are new and better ways.
 But your not that far off, I feel sorry for those guys still thinking nano 
 and 
 joe is the world ;D

Keep your pity, I'm in no need of it :)

Cheers,
Rob.
-- 
http://www.interjinn.com
Application and Templating Framework for PHP


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

---End Message---
-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php image and javascript include

2008-09-09 Thread Ashley Sheridan
Kate has an auto text feature, and you can set it to start prompting
from typing in as few characters as you wish, although it only prompts
for things you've already typed, it this does save you from making
obvious variable name typos as it will prompt the next time you try to
use it, and it recognises many, many more languages than DW.

If you're just after the code view, Dreamweaver is a little heavy, and
it runs on an OS which is also a bit heavy, but that's for another
discussion! 


Ash
www.ashleysheridan.co.uk
---BeginMessage---
On Monday 08 September 2008 14:53:24 Jay Moore wrote:
  Dreamweaver? Eclipse? Pah, it's all about using a text editor! Kate (on
  KDE) is my preference ;)

 Heathen!

 Dreamweaver is awesome.  Not for their WYSIWYG editor, but for their
 code-only view and its auto-complete.

 Never have I typed so little to get so... little.

I thought so to, till I tried quanta+


 Jay



-- 
---
Børge Holen
http://www.arivene.net

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

---End Message---
-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php image and javascript include

2008-09-08 Thread Jay Moore

Dreamweaver? Eclipse? Pah, it's all about using a text editor! Kate (on
KDE) is my preference ;)


Heathen!

Dreamweaver is awesome.  Not for their WYSIWYG editor, but for their 
code-only view and its auto-complete.


Never have I typed so little to get so... little.

Jay

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] php image and javascript include

2008-09-08 Thread Børge Holen
On Monday 08 September 2008 14:53:24 Jay Moore wrote:
  Dreamweaver? Eclipse? Pah, it's all about using a text editor! Kate (on
  KDE) is my preference ;)

 Heathen!

 Dreamweaver is awesome.  Not for their WYSIWYG editor, but for their
 code-only view and its auto-complete.

 Never have I typed so little to get so... little.

I thought so to, till I tried quanta+


 Jay



-- 
---
Børge Holen
http://www.arivene.net

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] php image and javascript include

2008-09-07 Thread Ashley Sheridan
Do you have an excerpt of the PHP code you have preceeding the HTML you
are using to include the JavaScript  images?


Ash
www.ashleysheridan.co.uk
---BeginMessage---

Hi All,

Strange issue here. I m including images and javascript in my php file. None
of them show/work up.
If i change the .php file to .html, both thing start working. So no issues
with path and all.

Any idea?

Thanks,
Sachin
-- 
View this message in context: 
http://www.nabble.com/php-image-and-javascript-include-tp19357706p19357706.html
Sent from the PHP - General mailing list archive at Nabble.com.


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


---End Message---
-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php image and javascript include

2008-09-07 Thread javasac

Thanks for the reply. here is the php file.
I am using wamp server 2.0 http://www.nabble.com/file/p19360339/signin.jpg
signin.jpg 



Ashley Sheridan-3 wrote:
 
 Do you have an excerpt of the PHP code you have preceeding the HTML you
 are using to include the JavaScript  images?
 
 
 Ash
 www.ashleysheridan.co.uk
 
 
 Hi All,
 
 Strange issue here. I m including images and javascript in my php file.
 None
 of them show/work up.
 If i change the .php file to .html, both thing start working. So no issues
 with path and all.
 
 Any idea?
 
 Thanks,
 Sachin
 -- 
 View this message in context:
 http://www.nabble.com/php-image-and-javascript-include-tp19357706p19357706.html
 Sent from the PHP - General mailing list archive at Nabble.com.
 
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 
 
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 
http://www.nabble.com/file/p19360339/signup.php signup.php 
-- 
View this message in context: 
http://www.nabble.com/php-image-and-javascript-include-tp19357706p19360339.html
Sent from the PHP - General mailing list archive at Nabble.com.


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] php image and javascript include

2008-09-07 Thread javasac

html
head
meta http-equiv=Content-Type content=text/html;
charset=windows-1252
titleSPIDR/title
script language=javascript
var prev_Item_1d;
prev_Item_1d = '';

var prev_div_Item_1d;
prev_div_Item_1d = '';
function Call_MyFunction(div_Item_1d, item_1d)
{   
if(prev_div_Item_1d != '')
{
document.getElementById(prev_div_Item_1d).style.display 
= 'none';

document.getElementById(prev_Item_1d).style.backgroundImage =
'url(images/login_07.jpg)';

document.getElementById(prev_Item_1d).style.borderBottomColor =
#808080;
}
if(prev_div_Item_1d == div_Item_1d)
{
prev_div_Item_1d = '';
prev_Item_1d = '';
}
else
{

document.getElementById(div_Item_1d).style.display = '';

document.getElementById(item_1d).style.backgroundImage =
'url(images/main_menu_bgwhite.jpg)';

document.getElementById(item_1d).style.borderBottomColor = #FF;
prev_div_Item_1d = div_Item_1d;
prev_Item_1d = item_1d;
setTimeout(On_T1mer(), 5000);
}
}

function On_T1mer()
{
if(prev_div_Item_1d != '')
{
document.getElementById(prev_div_Item_1d).style.display 
= 'none';

document.getElementById(prev_Item_1d).style.backgroundImage =
'url(images/login_07.jpg)';

document.getElementById(prev_Item_1d).style.borderBottomColor =
#808080;
prev_div_Item_1d = '';
prev_Item_1d = '';
}
}
/script
link href=style.css rel=stylesheet type=text/css
/head
body bgcolor=#FF leftmargin=0 topmargin=0 marginwidth=0
marginheight=0

div class=innerTEXT style=display: none; border-left:1px solid 
#808080;
border-right:1px solid #808080; border-bottom:1px solid #808080; position:
absolute; width: 168px; z-index: 1; left:91px; top:94px;
background-color:#FF id=div_Item2
table id=tbl_Top width=100% border=0 cellpadding=0
cellspacing=0
tr height=22px
td class=innerTEXT bgcolor=#FF
onmousemove=this.style.backgroundColor = 'darkblue'; this.style.color =
'#FF'; onmouseout=this.style.backgroundColor =
'#FF';this.style.color = '#33';nbsp; Item 1/td
/tr
tr height=22px
td class=innerTEXT bgcolor=#FF
onmousemove=this.style.backgroundColor = 'darkblue'; this.style.color =
'#FF'; onmouseout=this.style.backgroundColor =
'#FF';this.style.color = '#33';nbsp; Item 2/td
/tr
tr height=22px
td class=innerTEXT bgcolor=#FF
onmousemove=this.style.backgroundColor = 'darkblue'; this.style.color =
'#FF'; onmouseout=this.style.backgroundColor =
'#FF';this.style.color = '#33';nbsp; Item 3/td
/tr
tr height=22px
td class=innerTEXT bgcolor=#FF
onmousemove=this.style.backgroundColor = 'darkblue'; this.style.color =
'#FF'; onmouseout=this.style.backgroundColor =
'#FF';this.style.color = '#33';nbsp; Item 3/td
/tr
tr height=22px
td class=innerTEXT bgcolor=#FF
onmousemove=this.style.backgroundColor = 'darkblue'; this.style.color =
'#FF'; onmouseout=this.style.backgroundColor =
'#FF';this.style.color = '#33';nbsp; Item 3/td
/tr
tr height=22px
td class=innerTEXT bgcolor=#FF
onmousemove=this.style.backgroundColor = 'darkblue'; this.style.color =
'#FF'; onmouseout=this.style.backgroundColor =
'#FF';this.style.color = '#33';nbsp; Item 3/td
/tr
tr height=22px
td class=innerTEXT bgcolor=#FF
onmousemove=this.style.backgroundColor = 'darkblue'; this.style.color =
'#FF'; onmouseout=this.style.backgroundColor =
'#FF';this.style.color = '#33';nbsp; Item 3/td
/tr
tr height=22px
td class=innerTEXT bgcolor=#FF
onmousemove=this.style.backgroundColor = 'darkblue'; this.style.color =
'#FF'; onmouseout=this.style.backgroundColor =
'#FF';this.style.color = '#33';nbsp; Item 3/td
/tr
tr height=22px
td class=innerTEXT bgcolor=#FF
onmousemove=this.style.backgroundColor = 

Re: [PHP] php image and javascript include

2008-09-07 Thread Stut

On 7 Sep 2008, at 18:35, javasac wrote:

snip code


I see no PHP in there. Please post the piece of PHP code you're having  
a problem with.


-Stut

--
http://stut.net/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] php image and javascript include

2008-09-07 Thread Reese

javasac wrote:

snip

Where is the PHP? There's nothing between ?php and ? tags. Nothing
between PHP short tags ( ? and ? ), either.

Reese


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] php image and javascript include

2008-09-07 Thread Ashley Sheridan
You generally need some PHP to have PHP errors, but you don't have any
here. What was the code that actually gave you the errors?


Ash
www.ashleysheridan.co.uk
---BeginMessage---

html
head
meta http-equiv=Content-Type content=text/html;
charset=windows-1252
titleSPIDR/title
script language=javascript
var prev_Item_1d;
prev_Item_1d = '';

var prev_div_Item_1d;
prev_div_Item_1d = '';
function Call_MyFunction(div_Item_1d, item_1d)
{   
if(prev_div_Item_1d != '')
{
document.getElementById(prev_div_Item_1d).style.display 
= 'none';

document.getElementById(prev_Item_1d).style.backgroundImage =
'url(images/login_07.jpg)';

document.getElementById(prev_Item_1d).style.borderBottomColor =
#808080;
}
if(prev_div_Item_1d == div_Item_1d)
{
prev_div_Item_1d = '';
prev_Item_1d = '';
}
else
{

document.getElementById(div_Item_1d).style.display = '';

document.getElementById(item_1d).style.backgroundImage =
'url(images/main_menu_bgwhite.jpg)';

document.getElementById(item_1d).style.borderBottomColor = #FF;
prev_div_Item_1d = div_Item_1d;
prev_Item_1d = item_1d;
setTimeout(On_T1mer(), 5000);
}
}

function On_T1mer()
{
if(prev_div_Item_1d != '')
{
document.getElementById(prev_div_Item_1d).style.display 
= 'none';

document.getElementById(prev_Item_1d).style.backgroundImage =
'url(images/login_07.jpg)';

document.getElementById(prev_Item_1d).style.borderBottomColor =
#808080;
prev_div_Item_1d = '';
prev_Item_1d = '';
}
}
/script
link href=style.css rel=stylesheet type=text/css
/head
body bgcolor=#FF leftmargin=0 topmargin=0 marginwidth=0
marginheight=0

div class=innerTEXT style=display: none; border-left:1px solid 
#808080;
border-right:1px solid #808080; border-bottom:1px solid #808080; position:
absolute; width: 168px; z-index: 1; left:91px; top:94px;
background-color:#FF id=div_Item2
table id=tbl_Top width=100% border=0 cellpadding=0
cellspacing=0
tr height=22px
td class=innerTEXT bgcolor=#FF
onmousemove=this.style.backgroundColor = 'darkblue'; this.style.color =
'#FF'; onmouseout=this.style.backgroundColor =
'#FF';this.style.color = '#33';nbsp; Item 1/td
/tr
tr height=22px
td class=innerTEXT bgcolor=#FF
onmousemove=this.style.backgroundColor = 'darkblue'; this.style.color =
'#FF'; onmouseout=this.style.backgroundColor =
'#FF';this.style.color = '#33';nbsp; Item 2/td
/tr
tr height=22px
td class=innerTEXT bgcolor=#FF
onmousemove=this.style.backgroundColor = 'darkblue'; this.style.color =
'#FF'; onmouseout=this.style.backgroundColor =
'#FF';this.style.color = '#33';nbsp; Item 3/td
/tr
tr height=22px
td class=innerTEXT bgcolor=#FF
onmousemove=this.style.backgroundColor = 'darkblue'; this.style.color =
'#FF'; onmouseout=this.style.backgroundColor =
'#FF';this.style.color = '#33';nbsp; Item 3/td
/tr
tr height=22px
td class=innerTEXT bgcolor=#FF
onmousemove=this.style.backgroundColor = 'darkblue'; this.style.color =
'#FF'; onmouseout=this.style.backgroundColor =
'#FF';this.style.color = '#33';nbsp; Item 3/td
/tr
tr height=22px
td class=innerTEXT bgcolor=#FF
onmousemove=this.style.backgroundColor = 'darkblue'; this.style.color =
'#FF'; onmouseout=this.style.backgroundColor =
'#FF';this.style.color = '#33';nbsp; Item 3/td
/tr
tr height=22px
td class=innerTEXT bgcolor=#FF
onmousemove=this.style.backgroundColor = 'darkblue'; this.style.color =
'#FF'; onmouseout=this.style.backgroundColor =
'#FF';this.style.color = '#33';nbsp; Item 3/td
/tr
tr height=22px
td class=innerTEXT bgcolor=#FF
onmousemove=this.style.backgroundColor = 'darkblue'; this.style.color =
'#FF'; onmouseout=this.style.backgroundColor =
'#FF';this.style.color = 

Re: [PHP] php image and javascript include

2008-09-07 Thread b

javasac wrote:

[lots of stuff ...]



I'm guessing that was the *output* of the PHP file, not the script itself.

You've got a couple different errors here. The first is that you're not 
creating img tags. All you have here is the path to the image. A browser 
isn't going to do anything with that.


 td width=10 height=7
 images/box_bottom_lft.jpg /td

Second, at least one of the image paths is relative to your own desktop 
computer's drive (why is it that this always happens on a Windows box?)


 td width=11
 C:/wamp/www/yojoe-web/html/site/images/box_top_rht.jpg /td


Also, in the future, it'd be better to trim out the completely 
unnecessary bits. That's an awful lot of (bloated) HTML and javascript 
to wade through.


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] php image and javascript include

2008-09-07 Thread Reese

b wrote:

javasac wrote:

[lots of stuff ...]


Second, at least one of the image paths is relative to your own desktop 
computer's drive (why is it that this always happens on a Windows box?)


  td width=11
  C:/wamp/www/yojoe-web/html/site/images/box_top_rht.jpg /td


PEBKAC error? I've seen it happen when an inexperienced developer
copied a file to another location, from within Dreamweaver, on a
Mac. Dreamweaver updates the file path(s) if permitted and depending
on a couple of variables, puts in an absolute path to the location
on that particular machine.

Reese


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] php image and javascript include

2008-09-07 Thread Jochem Maas

Reese schreef:

b wrote:

javasac wrote:

[lots of stuff ...]


Second, at least one of the image paths is relative to your own 
desktop computer's drive (why is it that this always happens on a 
Windows box?)


  td width=11
  C:/wamp/www/yojoe-web/html/site/images/box_top_rht.jpg /td


PEBKAC error? I've seen it happen when an inexperienced developer
copied a file to another location, from within Dreamweaver, on a
Mac. Dreamweaver updates the file path(s) if permitted and depending
on a couple of variables, puts in an absolute path to the location
on that particular machine.


at the opposite end of the stick you have Eclipse users (mac or otherwise)
whose machines freeze up when moving or renaming stuff as Eclipse tries to
refactor code that references the resource. It's no wonder that dreamweaver
screws such stuff up ... with Eclipse you seem to have to sell your soul in
order get the arcane settings related to these kinds of 'productivity' tools
even close to working.

mines the one with 'not for sale' on the back.


Reese





--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] php image and javascript include

2008-09-07 Thread Ashley Sheridan
Dreamweaver? Eclipse? Pah, it's all about using a text editor! Kate (on
KDE) is my preference ;)


Ash
www.ashleysheridan.co.uk
---BeginMessage---

Reese schreef:

b wrote:

javasac wrote:

[lots of stuff ...]


Second, at least one of the image paths is relative to your own 
desktop computer's drive (why is it that this always happens on a 
Windows box?)


  td width=11
  C:/wamp/www/yojoe-web/html/site/images/box_top_rht.jpg /td


PEBKAC error? I've seen it happen when an inexperienced developer
copied a file to another location, from within Dreamweaver, on a
Mac. Dreamweaver updates the file path(s) if permitted and depending
on a couple of variables, puts in an absolute path to the location
on that particular machine.


at the opposite end of the stick you have Eclipse users (mac or otherwise)
whose machines freeze up when moving or renaming stuff as Eclipse tries to
refactor code that references the resource. It's no wonder that dreamweaver
screws such stuff up ... with Eclipse you seem to have to sell your soul in
order get the arcane settings related to these kinds of 'productivity' tools
even close to working.

mines the one with 'not for sale' on the back.


Reese





--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


---End Message---
-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php