stevenpetersen 35 Junior Poster

Steven,

That's 339 lines of javascript. How is anyone supposed to know why, where or how to add ajax-loader.gif to it with such a rudimentary introduction?

Airshow

I dont write java but i need help editing it... im using spry to program the ajax and im not shear how to put the loading image in.

or

how do ii make another JS for just the preloader.

Im sorry its alot of code..
Please help....

stevenpetersen 35 Junior Poster

How do i add my ajax-loader.gif to my js. and what kind does the script look like.... Thank you to everyone....
My js. below

var Spry;
if (!Spry) Spry = {};
if (!Spry.Widget) Spry.Widget = {};

Spry.Widget.TabbedPanels = function(element, opts)
{
	this.element = this.getElement(element);
	this.defaultTab = 0; // Show the first panel by default.
	this.bindings = [];
	this.tabSelectedClass = "TabbedPanelsTabSelected";
	this.tabHoverClass = "TabbedPanelsTabHover";
	this.tabFocusedClass = "TabbedPanelsTabFocused";
	this.panelVisibleClass = "TabbedPanelsContentVisible";
	this.focusElement = null;
	this.hasFocus = false;
	this.currentTabIndex = 0;
	this.enableKeyboardNavigation = true;

	Spry.Widget.TabbedPanels.setOptions(this, opts);

	// If the defaultTab is expressed as a number/index, convert
	// it to an element.

	if (typeof (this.defaultTab) == "number")
	{
		if (this.defaultTab < 0)
			this.defaultTab = 0;
		else
		{
			var count = this.getTabbedPanelCount();
			if (this.defaultTab >= count)
				this.defaultTab = (count > 1) ? (count - 1) : 0;
		}

		this.defaultTab = this.getTabs()[this.defaultTab];
	}

	// The defaultTab property is supposed to be the tab element for the tab content
	// to show by default. The caller is allowed to pass in the element itself or the
	// element's id, so we need to convert the current value to an element if necessary.

	if (this.defaultTab)
		this.defaultTab = this.getElement(this.defaultTab);

	this.attachBehaviors();
};

Spry.Widget.TabbedPanels.prototype.getElement = function(ele)
{
	if (ele && typeof ele == "string")
		return document.getElementById(ele);
	return ele;
}

Spry.Widget.TabbedPanels.prototype.getElementChildren = function(element)
{
	var children = [];
	var child = element.firstChild;
	while (child)
	{
		if (child.nodeType == 1 /* Node.ELEMENT_NODE */)
			children.push(child);
		child = child.nextSibling;
	}
	return children;
};

Spry.Widget.TabbedPanels.prototype.addClassName = function(ele, className)
{
	if (!ele || !className || …
stevenpetersen 35 Junior Poster

http://ibcfam.org/Visitor.html new link

I had to remove the

<h1></h1>

tags where the included form was and it fixed the layout..... thanks to every one who looked at the project...... If anyone cares to show me how to make a cell a

td/form method="POST"

i would like to see it.

stevenpetersen 35 Junior Poster

ok I looked at AJAX Examples that you both posted. they are based on making a form....not looking to make a form (but i looked it over)......... with the JS file they provide i need to now how to make a onclick event that retreives a div from a html page...

stevenpetersen 35 Junior Poster

http://ibcfam.org/vistitor.html

Im trying to include a form from one page to the other for some reason it has been messing up the layout can you help please.....

the include file is http://www.ibcfam.org/form.html thank you..
Also any feed back on the design would be cool too

stevenpetersen 35 Junior Poster

good question let me send you to a tutorial....... wait is that braking the rules........

Ezzaral commented: Was this post supposed to make any sense? +0
jbennet commented: speak english. dont use ....... all the time +0
stevenpetersen 35 Junior Poster

unable to repair windows err. with some other kind of err behind it. I put the disk in over the top of the errs, but still did not have keyboard control the vista set up. had to right click user and input unicode during install......

stevenpetersen 35 Junior Poster

Well, if this http://www.daniweb.com/forums/ is here to help people! why would you bad mounth someone for asking a questions. but who cares right..... how would you feel if it was your first time in and you post your first thread and some says to you thats to easy go somewhere else, or starts removing pionts from your forums... I would think to myself "See you later..... Feel like a SH@&# and never come back" Did daniweb.com/forums help someone?

stevenpetersen 35 Junior Poster

Back to the table............ dani web should have only made pionts up with the treads not down.....

stevenpetersen 35 Junior Poster

Ok what the problem was...... when I turned the computer on it went start to an err.... and then all human interfaces were locked out.... I then tried all usb ports.... and disk in then out then in..... and it bypassed the err....... fixed.... sorry for asking a dumb question....... My teachers at NVC say there are no dumb questions other then the ones you don’t ask.......dani web should have only made pionts up with the treads not down.....

stevenpetersen 35 Junior Poster

need to reboot widows vista...... on a dimension e521..... My problem is that there is no PS/2 keyboard -and- mouse ports ... just usb...... how do i reinstall the OS without taking the harddrive out.....

stevenpetersen 35 Junior Poster

i would make a div.... with the main color as a background color then make a image of the top of the boarder and a image of the bottom boarder..... then for the sides make a 1pt by 4pt image and stretch it to fit the side hight you want..... content in the middle.

stevenpetersen 35 Junior Poster

Hello my name is steve & im trying to use ajax to change the content in a div when you click on a nav button (6 buttons in nav)...... I build out side using a Ajax book and it did not work...... deleted the project and im trying to start over..... Please help me with the js. and setting up the divs right.....
Steve

stevenpetersen 35 Junior Poster

Need help finding drivers for UFT06 guslink link cable...... for windows XP

Thanks to everyone again

stevenpetersen 35 Junior Poster

i am looking at http://affiliate.kickapps.com to start it off. But i will have to make one here soon....... do you now were i can start with making one from scratch

stevenpetersen 35 Junior Poster

I had a someone ask me to day if i can make an online community..... thought this is going to be easy...... next think i know it needs to be based like face book..... Goin to start today...... if anyone can help in any way....... i do thank you.

stevenpetersen 35 Junior Poster

I designed the site for free for a friend not to long ago and i wanted to go ahead and design it in flash. I wanted to see what ideas anyone might have about this design.
www.predatorpitfighting.com
Thanks to every one

stevenpetersen 35 Junior Poster

is there a special payment gateway for non profit organizations, prohaps a free one..?

stevenpetersen 35 Junior Poster

This form was found on the net and was change to fit my needs. I hope it fits yours as well.......

I. Interdictory
The Website Planning Worksheet is to be used in conjunction with the Website Design Contract and Website Content Worksheet.
This questionnaire is designed to enhance communications between ------------ and the client. Please read throw the Website Planning Worksheet carefully and fill in all blanks that apply.
Organization Name: ________________________________________________

1. Purpose
Please specify the most important purpose for the website a “1”, for the most important followed by a “2” for being less important. Leave those blank which do not interest you at all.
___ To edit, upgrade, and/or maintain preexisting online web content.
___ To seek opportunity with professionalism throw an online resume and/or portfolio.
___ To gain a favorable impression of the company or organization.
___ To develop a qualified list of prospects.
___ To sell products directly taking credit card information over the Internet.
___ To encourage potential customers to contact your company by phone or mail to consummate sales.
___ To make available product information and price lists to distributors.
___ To make available product information and price lists to customers.
___ To strengthen brand identification.
___ Other _____________________________________________________________________

2. Site Organization
Total number of pages decided upon. ___________________
Do keep in mind that a Basic Website Plan consists of a vertical six page …

stevenpetersen 35 Junior Poster

1. Copy the coding into the HEAD of your HTML document
2. Add the last code into the BODY of your HTML document -->

<!-- STEP ONE: Paste this code into the HEAD of your HTML document -->

<HEAD>
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
function ViewImage(ifile,ix,iy,ititle) { 
var win;
var sWidth;
var sHeight;
var NS = (document.layers) ? 1 : 0;
win = window.open("","imageviewer","width="+ix+",height="+iy+",menubar=no,toolbar=no");
if (NS) {
sWidth = win.innerWidth;
sHeight = win.innerHeight;
} else {
sWidth = win.document.body.clientWidth;
sHeight = win.document.body.clientHeight;
}
if(sWidth!=ix || sHeight!=iy) {
win.close();
setTimeout("ViewImage('"+ifile+"',"+ix+","+iy+",'"+ititle+"')", 250);
return;
}
win.document.open();
win.document.write("<html><head><title>"+ititle+"</title>");
win.document.write("</head><body>");
win.document.write('<div style="position:absolute;width:'+ix+'px;height:'+iy+'px;left:0px;top:0px">');
win.document.write("<img src="+ifile+"></div></body></html>");
win.document.close();
}
//  End -->
</script>
</HEAD>

Copy this code into the BODY of your HTML document

<BODY>

<a href="javascript:ViewImage('fullsizeimage.jpg',576,303,'Picture description')"><img src="thumbsizesmall.jpg" width=288 height=152 border=1></a>

</body>

.

stevenpetersen 35 Junior Poster

Include content from one page to another with HTML Code.
On the page that you want to put content on just insert <!--#include virtual="YourURL"--> <html>
<body>

<!--#include virtual="YOUR URL" -->

</body>
</html>

stevenpetersen 35 Junior Poster

I do thank you both and if i get both working I will use witch one sues my needs at the time or both...... i still have not be able to it in the JS. way. What is the name of the JS file just so i have it write?

Thank you steven petersen,

P.S. i keeped on asking about the info you provided do to i wanted to no..... but the tread was asking How to put files or docs into a JPEG like a container.... Meaning if i move the image around on my computer and/or website the docs are in it and cant be seen unless you no how to find them... I will give props to the JS. script if it works, and i will give props for the Jpeg container.

Thanks again

stevenpetersen 35 Junior Poster

Got It props too you my friend.....

there was a problem with the code.......... I did not see at first problem here

left side is your code........ and my first code is on the right......

stevenpetersen 35 Junior Poster
@media print { img { background:url('./images/copyright.jpg'); } }
<img style="background:url('./images/realpic.jpg')" src='./images/blank.gif' width='width of realpic' height='height of realpic'>
<img style="background:url('./images/anotherpic.jpg')" src='./images/blank.gif' width='width of anotherpic' height='height of anotherpic'>

blank.gif is a 1px transparent .gif image
all images have the same src, the background is the real image
the print styling is generic, can be refined to take a class or id of image to copyright, and allow non-copyright images to print

Got It props too you my friend.....


What about the Print Screen

stevenpetersen 35 Junior Poster

Did you add the code?
My JS file is (sorry, I made a mistake).

$(function(){
$('img').each(function(){
$('<div class="trans">&nbsp;</div>').appendTo('body').css({
'width':($(this).width() + 20)+'px',
'height':($(this).height() + 20)+'px',
'position':'absolute',
'top':$(this).offset().top+'px',
'left':$(this).offset().left+'px',
'background':'transparent'});});
$('img, .trans').bind("rightclick mousedown contextmenu mouseover mouseout drag",function(){return false;});
});

Did not work for me..... ill leave it up here
im going to try this other one here as well thank you....

stevenpetersen 35 Junior Poster
stevenpetersen 35 Junior Poster

We should let the poll results build up and see if over time they change. Thank you every body for your input.

stevenpetersen 35 Junior Poster

Seamless images for when they repeat on say a webpage?

Yes

stevenpetersen 35 Junior Poster

Where does this go? Into the jpeg container, header, or JS file?

This post is a current project

stevenpetersen 35 Junior Poster

I was told by one of my friends in a high place that you can make a JPEG into a Container to carry what every you need..... My idea is to put a Java Script in the Container that makes the picture uncopyable to print page and right click..... Also would like to put a note pad into the Image for copywrites information. The Question is........ HOW DO YOU MAKE A JPEG IMAGE A CONTAINER......

stevenpetersen 35 Junior Poster

First, I think you have a good start..... kodos..... But i did notice that there can be some add ons that will make the site look a lot better

Main Navbar...
is to wide and has some two messed up lines that make the site look very bad...
also some rollover effects on the navbar would help the navbars come alive. It makes you aware that it in deed takes you somewhere.

i will post more to come.....

I wish i could work on projects like this..... I end up doing restaurants, art galleries, and churchs...... most of the time..

stevenpetersen 35 Junior Poster

the first one is really good but here is another..... tizag.com

I also use......
tutvid.com for flash
www.w3schools.com for basic code
developphp.com for other code

stevenpetersen 35 Junior Poster

I do thank everyone that has been in the thread, and do wish to hear more feed back on this topic. I have sent some invites to some of the Dani Community members to see what they think......

stevenpetersen 35 Junior Poster

I wanted to know if anyone new how to make a Seemless image in Photo Shop CS3....... Looking for a quick way to do seemless images.

stevenpetersen 35 Junior Poster

Do you want to add several points to the map ?

Yes, but from a list on a txt. or anotherpage.

stevenpetersen 35 Junior Poster

I beleave your are talking Ajax. A mix between java and css.

http://headfirstlabs.com/books/hfajax/

I hope this can help you. It is a book but if you like you can download the codes for the book work throw.

stevenpetersen 35 Junior Poster

pritaeas , thank for replying to this! i did not think anyone was going going to reply to it.

Is thee any way you can break the code above down for me so i know how to properly insall and edit it. This code you sent me looks alot different and i do not want to be installing it wrong in projects. I am not to shear on how to install it as well. I also have another google code i am trying to understand in a form if you want to take a crack at it. API new GLatLng help

Thank you for your time and help,
Steven Petersen

stevenpetersen 35 Junior Poster

It does work...... But there is always ways to inprove anything and everything.

stevenpetersen 35 Junior Poster

sknake you do bright a good piont. Mybe a poll system where everyone can vote and rate. The highter the Reputation the more there vote will effect the poll.......

stevenpetersen 35 Junior Poster

Ancient Dragon.... Most Valuable Poster..... wow i didnt think you would have the time to leave a mark on this thread. It is nice to see that even URGENT stupid Questions get answered here by the big timers thanks for your post. I have been trying not to get upset about peoples posts that might be......... negative

stevenpetersen 35 Junior Poster

If you do not now code i would just use 1&1. Unless you want a designer to do it for you.

stevenpetersen 35 Junior Poster

Is there a way to incorporate a Content Management System into an already coded website?

Yes there is away.

<script languae="PHP">
	open_database("location","username","password");
	display_page("PAGE_ID");
	close_database();
</script>

This is how i inserted the CMS into web pages at my internship, but i dont know the rest of the CMS. I would like to find that out.

stevenpetersen 35 Junior Poster

Does any one now how to make Seemless Images in Paint.Net?

stevenpetersen 35 Junior Poster

Hi i use Style Sheets in every site i design, but i have noticed that most of the time my background image never shows up and i end up using an html code. Can someone check my code over for me. If someone can show me another way to write the code and it works every time i will mark as solved. If not... and some one can explain why it does not work everytime i will mark as solved.

background: url(structure_folder/i_background.png) no-repeat;
background-size: 100%;

The problem i might be having is that i always put the background images in a folder called structure_folder.

thanks,

P.S cant beleave im having problems with something so small.

stevenpetersen 35 Junior Poster

i was just having a bad day that day sorry

Ancient Dragon commented: Everyone has a bad hair day occasionally :) +36
stevenpetersen 35 Junior Poster

what would the code look like.

stevenpetersen 35 Junior Poster

Are you still working on fixing this project.

stevenpetersen 35 Junior Poster

If you really want to get points for your questions and answers head over to somewhere more suited to it...
www.answerbag.com - Wow, you can get points!!

this thread was not put here to make anyone mad just thought it would be a good idea. as for your site referral, I feel fine with the daniweb community. I was just looking for away to contribute to daniweb.TO help contribute to daniweb online community. Wow maybe i should stop this thread befor everyone starts to hate me.

stevenpetersen 35 Junior Poster

What is the problem(s) you are having with your site when you view it in IE6?

stevenpetersen 35 Junior Poster

Front Page is super easy