How to Make Page Background Stationary

May 22, 2009 by  
Filed under Xsitepro Technical

Someone over at the Xsitepro Forum asked the following question:

How do I get my background to remain static while my page moves?

With Xsitepro version 2.0 this is an easy task to accomplish.

Go to the ‘Other Tab’

Go to ‘Website Settings’

Go to ‘Advanced Image Tiling’

Now look in the Margins dropdown and you will need to select on of the NO SCROLL optins depending how the background image is tiled.

That’s it!

I really like the stationary background and would use it often when designing websites with Dreamweaver. Xsitepro really makes it simple to create a stationary background in which the page scrolls up or down depending where your at in the website.

Here’s a way to accomplish a stationary background using html coding.

Using CSS

body {
background-image: url(coffee/images/bk3-opaque.jpg);
background:url(coffee/images/bk3-opaque.jpg) fixed;
}

Another Option

background-image: url(../images/CHOOSEYOURIMAGE);
background-position:top;
background-repeat:repeat-x; (or “no-repeat” if a full size wallpaper background)
background-size: 100%;
background-color: CHOOSEYOURCOLOR;
background-attachment:fixed;

One more Option

Place in body tags

<body background =”yourimage.gif” bgproperties=”fixed”>

If you need more information on how to do this, simply google “stationary background image”

Post to Twitter Digg This Post

Where to Put a 3rd Party Script with Xsitepro

January 17, 2009 by  
Filed under Xsitepro Technical

I ran across a question regarding php scripts. This person was having a problem utilizing a 3rd party script…..and I think they really need to get a new hosting account. However there could be some miscommunication between the hosting provider and user……but, I think the problem comes from trying to put the script in the wrong place when using Xsitepro. Anyway, here’s they’re question:

I have been having issues with an enquiry form and my Hosting webspace.
Basically to enable PHP with my hosting company I have had to enable something called CGI which sits on a different server. They have told me ‘basic html files need to go on the ftp site and any php and scripted files on the CCGI’.
What I am trying to do is use option 5 (redirection of an filled in client enquiry to a specified e-mail address). Aside of switching to host gator is there anything I can do?.
I am using plus.net hosting.
Any help much appreciated.

Here’s my attempt at answering:

Sounds like they are making it more complicated than it has to be.

I’ve 4 or 5 hosting accounts and I have never had to put my php scripts into a designated folder…and you should not have to.

I’m not an authority on hosting and someone might have a better explanation, I’m assuming their reason has to do with security.

If your script is a cgi or perl script, you need to put it in a folder or directory of your hosting account called “cgi-bin” ….perhaps this is what you’re dealing with.

You probably already know this, but often times you have a script hosted on your server, and this script performs some kind of function…..as an example, lets say it resizes some images. Next you call the function of this script into your webpage with a php include or a SSI….server side include.

When using Xsitepro you would first go to “Other” tab—-> then “Resource Manager” and click on “Add” and you add the page that has your php script. Then you would follow the directions for using the script.

If your script is a cgi or perl script, I’m assuming you would have to use a ftp program to upload the script to the cgi-bin folder and then follow the directions to make the script do what it’s supposed to do…..keeping in mind the file structure and location of your script and webpage.

Sorry couldn’t be of more help…..Good Luck!

Scott

Post to Twitter Digg This Post

Learn Html for Your Xsitepro Websites with HTTrack

October 31, 2008 by  
Filed under Xsitepro Technical

Just because you own Xsitepro
doesn’t mean you can get away without ever learning any html. Html is
the basic coding of any website and although you can read up on how to
use html, there’s nothing like seeing html used in real life.

The wysiwyg editor of Xsitepro works very well, however there are
times when you will need to know some html to get things right…so you
better learn html coding! Below is a post I did in the Xsitepro Forum
hoping to help some of my fellow xsitepro users with a free tool that
will help them study html coding in existing websites.

OK…man, you guys/gals have come up with some really good stuff.

Anybody ever use HTTrack Website Copier?

Before you start thinking this is illegal, remember just about
anything you put online is accessible to anybody….I don’t like it
anymore than the other guy, but and that’s a big but, it depends on how
you use this material.

Bottom line, if you download someone else’s stuff and use it on your
website or sell it then you are a thief…plain and simple, your a thief
just like any other parasite.

However, as a webmaster HTTrack can do many things for you.

First let me tell you what it does. Basically it downloads the entire website to your desktop, complete with folders files ect.

This is from their website:

It allows you to download a World Wide Web site from the Internet to
a local directory, building recursively all directories, getting HTML,
images, and other files from the server to your computer. HTTrack
arranges the original site’s relative link-structure. Simply open a
page of the “mirrored” website in your browser, and you can browse the
site from link to link, as if you were viewing it online. HTTrack can
also update an existing mirrored site, and resume interrupted
downloads. HTTrack is fully configurable, and has an integrated help
system.

There are a number of ways you can use this tool. For instance if
you are working with a person who has a website up and there has been
an argument between the domain owner and the webmaster, and the domain
owner hired you to redo his site….You can download almost everything on
the server.

I almost hesitate sharing this tool because I know there will be
some that will use it in an unscrupulous way. Please don’t think you
can download someones site and steal their content, images and site
structure…..that would make you a real jerk!

Once I had a client that was a doctor and they wanted to put 100’s
of pdf’s directly on their site that came from another doctor. The
other doctor gave their permission and I was able to use HTTrack to
grab the needed files.

Basically, I use the tool to grab a website and plug it into
dreamweaver and study how the site was put together. I’ve learned a lot
of tricks and I’ve been able to duplicate affects that I would have
never figured out on my own. So….in essence for me, it is a great
learning and teaching tool.

You can configure the program to only download certain sections of a
website. I would highly recommend only downloading what you need.
Remember if you snag someone’s site that is huge, you’ll be taking
bandwidth from them.

The tool has been around for a while, many people use it. Just
remember to use it wisely and if you think you are going to use
anything you download….please, please get permission first.

To get your free copy of HTTrack….just go to http://www.httrack.com

For some of you guys who are new to building websites, it’s a great
way to learn html. You’ll be able to learn certain effects and transfer
those effects to your Xsitepro websites.
When you see a site with something really cool and it doesn’t show up
on “view source code”, you can give httrack a try. By the way, this
tool isn’t foolproof and will not grab everything, but you will get
more than is available with “view source code”…..plus you can see how a
site is structured.

Most will pass this by, but perfection involves understanding. Even
though you use Xsitepro, at some point you need to start learning
html…unless you are building only one site in your lifetime.

I’m constantly amazed at the number of people who bitch and complain
the xsitepro won’t do this or that…when in the long run, some basic
understanding of html and css would prove invaluable in the development
of your sites.

Oh well….I better stop before I say something that gets me in trouble )

Best Wishes to All!

Post to Twitter Digg This Post

Powered by Yahoo! Answers