[Gimp-user] JavaScript

2008-04-21 Thread Jan Snyder
Hello all humans,
I have been using GIMP for webdesign but have to write all the JavaScript by
hand in Gedit the Linux text editor. Since the slice tool and imagemap tool
export some HTML tables and JavaScript, I think it would be nice if GIMP
somehow included JavaScript or CSS templates and it's own text editor
console sort of like the python console it has for editing plugins. Somehow
the script templates could automatically be included into the slice HTML
exported file.  Is this feasible?  Also,  I have limited programming
knowledge.  Does anyone know what it might take to  program this into GIMP.
I will try to do it myself but need some hints.
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] JavaScript

2008-04-21 Thread Nathan Lane
You would either need to learn Script-Fu, Python, or C/C++ and learn how to
integrate into the GIMP api. I have a couple of questions, first, why are
you using slicing for your HTML projects when CSS handles the sorts of
things you can do with slicing in a much more logical and browser-friendly
manner, and second, the javascript to do this isn't very hard to learn. If
you'd like I can bring you by (teach you). What is it that you are trying to
do, menus? Anyway, there are open source/free tools that also enable you in
the way of web site creation, that are similar to Adobe Dreamweaver, for
example, Amaya, Quanta Plus, and NVU. But seriously, I can help you learn or
this website, http://quirksmode.org/, can help you learn how to do
cross-browser javascript easily. If you decide to go the CSS route, things
like image flipping for buttons becomes a ton easier also. Just let me know
off-list if you want help learning that stuff.

On Mon, Apr 21, 2008 at 10:53 AM, Jan Snyder [EMAIL PROTECTED]
wrote:

 Hello all humans,
 I have been using GIMP for webdesign but have to write all the JavaScript
 by hand in Gedit the Linux text editor. Since the slice tool and imagemap
 tool export some HTML tables and JavaScript, I think it would be nice if
 GIMP somehow included JavaScript or CSS templates and it's own text editor
 console sort of like the python console it has for editing plugins. Somehow
 the script templates could automatically be included into the slice HTML
 exported file.  Is this feasible?  Also,  I have limited programming
 knowledge.  Does anyone know what it might take to  program this into GIMP.
 I will try to do it myself but need some hints.

 ___
 Gimp-user mailing list
 Gimp-user@lists.XCF.Berkeley.EDU
 https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user




-- 
Nathan Lane
Home, http://www.nathandelane.com
Blog, http://nathandelane.blogspot.com
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] JavaScript

2008-04-21 Thread Nathan Lane
It's not really integrated with any text editor, and it itself is not a web
design tool, even though it has slicing capabilities.

On Mon, Apr 21, 2008 at 11:12 AM, Jan Snyder [EMAIL PROTECTED]
wrote:

 Yes, I know CSS is better but I took a JavaScript class and have been
 messing around with it under Linux. I have a Virtual Machine of windows I
 sometimes run with Fireworks, Dreamweaver, and Flash (8). I'm trying to get
 away from these and found in Linux that the best way is to write the code
 myself and use GIMP or Inkscape to do more vector based work. I was just
 curious of ways that GIMP might become more integrated with say some sort of
 text editor and include script templates (also CSS). I'm taking an XHTML/CCS
 class soon. I will check out Amaya and Quantaplus. I already have
 NVU/Kompozer. I prefer a plain text editor over Kompozer.

 Thanks


 On Mon, Apr 21, 2008 at 1:03 PM, Nathan Lane [EMAIL PROTECTED]
 wrote:

  You would either need to learn Script-Fu, Python, or C/C++ and learn how
  to integrate into the GIMP api. I have a couple of questions, first, why are
  you using slicing for your HTML projects when CSS handles the sorts of
  things you can do with slicing in a much more logical and browser-friendly
  manner, and second, the javascript to do this isn't very hard to learn. If
  you'd like I can bring you by (teach you). What is it that you are trying to
  do, menus? Anyway, there are open source/free tools that also enable you in
  the way of web site creation, that are similar to Adobe Dreamweaver, for
  example, Amaya, Quanta Plus, and NVU. But seriously, I can help you learn or
  this website, http://quirksmode.org/, can help you learn how to do
  cross-browser javascript easily. If you decide to go the CSS route, things
  like image flipping for buttons becomes a ton easier also. Just let me know
  off-list if you want help learning that stuff.
 
  On Mon, Apr 21, 2008 at 10:53 AM, Jan Snyder [EMAIL PROTECTED]
  wrote:
 
Hello all humans,
   I have been using GIMP for webdesign but have to write all the
   JavaScript by hand in Gedit the Linux text editor. Since the slice tool 
   and
   imagemap tool export some HTML tables and JavaScript, I think it would be
   nice if GIMP somehow included JavaScript or CSS templates and it's own 
   text
   editor console sort of like the python console it has for editing plugins.
   Somehow the script templates could automatically be included into the 
   slice
   HTML exported file.  Is this feasible?  Also,  I have limited programming
   knowledge.  Does anyone know what it might take to  program this into 
   GIMP.
   I will try to do it myself but need some hints.
  
   ___
   Gimp-user mailing list
   Gimp-user@lists.XCF.Berkeley.EDU
   https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
  
  
 
 
  --
  Nathan Lane
  Home, http://www.nathandelane.com
  Blog, http://nathandelane.blogspot.com





-- 
Nathan Lane
Home, http://www.nathandelane.com
Blog, http://nathandelane.blogspot.com
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] JavaScript

2008-04-21 Thread Nathan Lane
Also writing the javascript, html, and css yourself ensures that you don't
succumb to any html/css/javascript bugs that might be found in those
dreamweaver-like tools because they tend not to be perfect like coding
everything yourself.

On Mon, Apr 21, 2008 at 11:48 AM, Nathan Lane [EMAIL PROTECTED]
wrote:

 It's not really integrated with any text editor, and it itself is not a
 web design tool, even though it has slicing capabilities.


 On Mon, Apr 21, 2008 at 11:12 AM, Jan Snyder [EMAIL PROTECTED]
 wrote:

  Yes, I know CSS is better but I took a JavaScript class and have been
  messing around with it under Linux. I have a Virtual Machine of windows I
  sometimes run with Fireworks, Dreamweaver, and Flash (8). I'm trying to get
  away from these and found in Linux that the best way is to write the code
  myself and use GIMP or Inkscape to do more vector based work. I was just
  curious of ways that GIMP might become more integrated with say some sort of
  text editor and include script templates (also CSS). I'm taking an XHTML/CCS
  class soon. I will check out Amaya and Quantaplus. I already have
  NVU/Kompozer. I prefer a plain text editor over Kompozer.
 
  Thanks
 
 
  On Mon, Apr 21, 2008 at 1:03 PM, Nathan Lane [EMAIL PROTECTED]
  wrote:
 
   You would either need to learn Script-Fu, Python, or C/C++ and learn
   how to integrate into the GIMP api. I have a couple of questions, first, 
   why
   are you using slicing for your HTML projects when CSS handles the sorts of
   things you can do with slicing in a much more logical and browser-friendly
   manner, and second, the javascript to do this isn't very hard to learn. If
   you'd like I can bring you by (teach you). What is it that you are trying 
   to
   do, menus? Anyway, there are open source/free tools that also enable you 
   in
   the way of web site creation, that are similar to Adobe Dreamweaver, for
   example, Amaya, Quanta Plus, and NVU. But seriously, I can help you learn 
   or
   this website, http://quirksmode.org/, can help you learn how to do
   cross-browser javascript easily. If you decide to go the CSS route, things
   like image flipping for buttons becomes a ton easier also. Just let me 
   know
   off-list if you want help learning that stuff.
  
   On Mon, Apr 21, 2008 at 10:53 AM, Jan Snyder 
   [EMAIL PROTECTED] wrote:
  
 Hello all humans,
I have been using GIMP for webdesign but have to write all the
JavaScript by hand in Gedit the Linux text editor. Since the slice tool 
and
imagemap tool export some HTML tables and JavaScript, I think it would 
be
nice if GIMP somehow included JavaScript or CSS templates and it's own 
text
editor console sort of like the python console it has for editing 
plugins.
Somehow the script templates could automatically be included into the 
slice
HTML exported file.  Is this feasible?  Also,  I have limited 
programming
knowledge.  Does anyone know what it might take to  program this into 
GIMP.
I will try to do it myself but need some hints.
   
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
   
   
  
  
   --
   Nathan Lane
   Home, http://www.nathandelane.com
   Blog, http://nathandelane.blogspot.com
 
 
 


 --
 Nathan Lane
 Home, http://www.nathandelane.com
 Blog, http://nathandelane.blogspot.com




-- 
Nathan Lane
Home, http://www.nathandelane.com
Blog, http://nathandelane.blogspot.com
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] JavaScript

2008-04-21 Thread Nathan Lane
Yeah, GIMP doesn't really have all of the strong slicing features that other
programs have, but I suspect that they will begin moving away from slicing
paradigms as the default because CSS is more widely and fully supported. For
example, rather than slicing your background image, you can place it in
different positions in a div using CSS. This is much cleaner and has better
support because divs were made for web layout and tables were not. GIMP is
not only the best open source tool on the market for imaging, but also the
most versatile, and if it doesn't have something that you want, then the
nice thing is that you can program it, but for what you want to do, I don't
think it is worth the effort to program the plugins, simply because tables
are not the layout standard for the web anymore. That's just my opinion of
course.

Nathan

On Mon, Apr 21, 2008 at 1:23 PM, Jan Snyder [EMAIL PROTECTED]
wrote:

 I was just wondering because GIMP is quite good in many aspects that it
 could replace many windows programs, on the other hand there is another
 program called Pixel which isnt freeware that is good for webdesign. Still,
 I wasnt entirely pleased with the DEMO and would just as well use the GIMP
 for web design even if I have to code the pages myself. One thing I really
 miss from Fireworks though is the behavioral slices which are like
 transparent rectangles that can be placed over an image and optimized with
 JavaScript behaviors and exported as HTML, though as you mentioned the code
 this produces looks kind of bizarre and overtly complex.

 On Mon, Apr 21, 2008 at 1:50 PM, Nathan Lane [EMAIL PROTECTED]
 wrote:

  Also writing the javascript, html, and css yourself ensures that you
  don't succumb to any html/css/javascript bugs that might be found in those
  dreamweaver-like tools because they tend not to be perfect like coding
  everything yourself.
 
 
  On Mon, Apr 21, 2008 at 11:48 AM, Nathan Lane [EMAIL PROTECTED]
  wrote:
 
   It's not really integrated with any text editor, and it itself is not
   a web design tool, even though it has slicing capabilities.
  
  
   On Mon, Apr 21, 2008 at 11:12 AM, Jan Snyder 
   [EMAIL PROTECTED] wrote:
  
Yes, I know CSS is better but I took a JavaScript class and have
been messing around with it under Linux. I have a Virtual Machine of 
windows
I sometimes run with Fireworks, Dreamweaver, and Flash (8). I'm trying 
to
get away from these and found in Linux that the best way is to write the
code myself and use GIMP or Inkscape to do more vector based work. I was
just curious of ways that GIMP might become more integrated with say 
some
sort of text editor and include script templates (also CSS). I'm taking 
an
XHTML/CCS class soon. I will check out Amaya and Quantaplus. I already 
have
NVU/Kompozer. I prefer a plain text editor over Kompozer.
   
Thanks
   
   
On Mon, Apr 21, 2008 at 1:03 PM, Nathan Lane 
[EMAIL PROTECTED] wrote:
   
 You would either need to learn Script-Fu, Python, or C/C++ and
 learn how to integrate into the GIMP api. I have a couple of 
 questions,
 first, why are you using slicing for your HTML projects when CSS 
 handles the
 sorts of things you can do with slicing in a much more logical and
 browser-friendly manner, and second, the javascript to do this isn't 
 very
 hard to learn. If you'd like I can bring you by (teach you). What is 
 it that
 you are trying to do, menus? Anyway, there are open source/free tools 
 that
 also enable you in the way of web site creation, that are similar to 
 Adobe
 Dreamweaver, for example, Amaya, Quanta Plus, and NVU. But seriously, 
 I can
 help you learn or this website, http://quirksmode.org/, can help
 you learn how to do cross-browser javascript easily. If you decide to 
 go the
 CSS route, things like image flipping for buttons becomes a ton 
 easier also.
 Just let me know off-list if you want help learning that stuff.

 On Mon, Apr 21, 2008 at 10:53 AM, Jan Snyder 
 [EMAIL PROTECTED] wrote:

   Hello all humans,
  I have been using GIMP for webdesign but have to write all the
  JavaScript by hand in Gedit the Linux text editor. Since the slice 
  tool and
  imagemap tool export some HTML tables and JavaScript, I think it 
  would be
  nice if GIMP somehow included JavaScript or CSS templates and it's 
  own text
  editor console sort of like the python console it has for editing 
  plugins.
  Somehow the script templates could automatically be included into 
  the slice
  HTML exported file.  Is this feasible?  Also,  I have limited 
  programming
  knowledge.  Does anyone know what it might take to  program this 
  into GIMP.
  I will try to do it myself but need some hints.
 
  ___
  Gimp-user mailing