logo       

Re: Paths to pictures in CSS: msg#00107

Subject: Re: Paths to pictures in CSS
OK, and is there any better solution? I think if the file back.png can't be in 
Squeak image, saved as object and if Seaside can't  provide it to the 
browser... But I am really newbie, I don't know how to do it...
______________________________________________________________
> Od: Marco Paga <marco.paga@xxxxxxxxx>
> Komu: seaside@xxxxxxxxxxxxxxxxxxxxxxxxxx
> Datum: Sun, 20 Feb 2005 19:32:57 +0100
> Předmět: Re: [Seaside] Paths to pictures in CSS
>
> Hi.
> When you perfrom the following you will see your seaside directory as
> the document root. I wouldn't use this in production but for testing
> it should be ok.
> Taken shameless from a previous post:
> 
> >From the Kom description on SqueakMap
> 
> | ma seaside |
> seaside := WAKom default.
> ma := ModuleAssembly core.
> ma serverRoot: FileDirectory default fullName.
> ma alias: '/seaside' to: [ma addPlug: [:request | seaside process: 
> request]].
> ma documentRoot: FileDirectory default fullName.
> ma directoryIndex: 'index.html index.htm'.
> ma serveFiles.
> (HttpService startOn: 8080 named: 'httpd') plug: ma rootModule
> 
> 
> This lets you serve files from your image dir (FileDirectory default).  
> You could obviously change that to serve from anywhere.  If you're going 
> Squeak-only you definitely want to study the various Kom modules and 
> ModuleAssembly.  Especially KomLogger and the various *log* methods in 
> ModuleAssembly so you can get some basic logging.
> 
> Hope this helps...
> 
> David
> 
> Am Sonntag 20 Februar 2005 15:32 schrieb mimik@xxxxxxxxxx:
> > Hi, i am newbie with Seaside. I am trying to display a background image on
> > a web page, which is declared in CSS file like that:
> >
> >     body { background: url('back.png'); }
> >
> > but I don't know where do I have to put the back.png file, in which
> > directory. I am testing in on my localhost, so the URL path is
> > http://localhost:9090/seaside/test. I think I must tell Seaside that this
> > URL responds to some directory on my disk, some sort of Web root like in
> > Apache, but I can't find it. Can you help me?
> > _______________________________________________
> > Seaside mailing list
> > Seaside@xxxxxxxxxxxxxxxxxxxxxxxxxx
> > http://lists.squeakfoundation.org/listinfo/seaside
> 
> -- 
> The future is a process, not a destination.
> The future is not a noun, it's a verb.
> 
> -- Bruce Sterling
> _______________________________________________
> Seaside mailing list
> Seaside@xxxxxxxxxxxxxxxxxxxxxxxxxx
> http://lists.squeakfoundation.org/listinfo/seaside


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
linux.arklinux....    user-groups.lin...    kde.usability/2...    ietf.ipp/2002-0...    mail.spam.spamc...    os.netbsd.devel...    audio.cd-record...    text.unicode.de...    php.documentati...    games.fps.halfl...    window-managers...    suse.oracle.gen...    bug-tracking.gn...    video.dvdrip.us...    xfree86.cvs/200...    java.netbeans.m...    network.argus/2...    culture.sf.kill...    debian.ports.al...    freebsd.questio...    qplus.devel/200...    handhelds.palm....   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe