TalkPHP
 
 
Account Login
Latest Articles
» The basic usage of PHPTAL, a XML/XHTML template library for PHP
» Vulnerable methods and the areas they are commonly trusted in.
» Simple way to protect a form from bot
» The Basics On: How Session Stealing Works
» How to keep your forms from double posting data
IRC Channel
IRC Speech Bubble Join the friendly bunch on IRC...
(#TalkPHP on Freenode)

...Also available via a web interface.

See this thread for information on the TalkPHP Free Hugs Initiative™. Subject to availability.
Associates
Associates
CSS Tutorials
Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 06-28-2009, 07:47 PM   #1 (permalink)
The Wanderer
 
Join Date: Jun 2009
Posts: 5
Thanks: 0
angelking is on a distinguished road
Default wre-write this code

ok so ive found this code on another site but i would like to use this on my site for my users to use as well.

anything is possible so i know that this can be done.

ive attached the html doc. to this thread this can also be ran and works on the desktop.

the part that i want to get is were the user enters their gamer tag and once they hit generate a full tab of otpions opens up they can enter their tag in multiple of places.

the tags are created as .png images.


i need a way to change up the code and add in my users info in the images... my web page is eatsleepjdm.com

let me know if you need anything on my end
Attached Files
File Type: html index.html (33.7 KB, 185 views)
angelking is offline  
Reply With Quote
Old 06-28-2009, 09:00 PM   #2 (permalink)
The Addict
 
Join Date: May 2009
Posts: 287
Thanks: 5
adamdecaf is on a distinguished road
Default

1) Do you have permission to use this code?
2) That will take a lot more than just one file.
__________________
My Site
adamdecaf is offline  
Reply With Quote
Old 06-28-2009, 09:05 PM   #3 (permalink)
The Wanderer
 
Join Date: Jun 2009
Posts: 5
Thanks: 0
angelking is on a distinguished road
Default

i kno the guy who runs it but he didnt code it
he said i could use it but to find out how to re code it
angelking is offline  
Reply With Quote
Old 06-28-2009, 09:09 PM   #4 (permalink)
The Addict
 
Join Date: May 2009
Posts: 287
Thanks: 5
adamdecaf is on a distinguished road
Default

Ok, still I don't know if anyone will code this entire thing for you. It seems like your asking for a lot.

I'm sure people will be willing to help you, or give you parts of it.
__________________
My Site
adamdecaf is offline  
Reply With Quote
Old 06-28-2009, 09:33 PM   #5 (permalink)
Moderateur
RegEx Guru PHP Guru Top Contributor Advanced Programmer 
 
Salathe's Avatar
 
Join Date: Apr 2007
Posts: 1,393
Thanks: 5
Salathe is on a distinguished road
Default

Hi angelking, welcome to TalkPHP. With regards to your query about re-writing the provided code (where the actual thing you want isn't even provided!), you would be very lucky if someone came forward and just handed over a working collection of code to replicated the behaviour shown in the provided page. In fact, I would recommend anyone against doing that!

Do you now the first thing about JavaScript or HTML (which will both be necessary)? Are you looking to learn how to do this yourself, or do you simply wish for someone to come forward and (re-)write the code for you to take and use?

Any further responses on this topic will be determined based on the answers to the questions above but I think the end result will either be us helping you to code this up yourself, or recommending hiring someone to do the job (because that's what it is, really) for you.
Salathe is offline  
Reply With Quote
Old 06-28-2009, 09:53 PM   #6 (permalink)
The Wanderer
 
Join Date: Jun 2009
Posts: 5
Thanks: 0
angelking is on a distinguished road
Default

Quote:
Originally Posted by Salathe View Post
Hi angelking, welcome to TalkPHP. With regards to your query about re-writing the provided code (where the actual thing you want isn't even provided!), you would be very lucky if someone came forward and just handed over a working collection of code to replicated the behaviour shown in the provided page. In fact, I would recommend anyone against doing that!

Do you now the first thing about JavaScript or HTML (which will both be necessary)? Are you looking to learn how to do this yourself, or do you simply wish for someone to come forward and (re-)write the code for you to take and use?

Any further responses on this topic will be determined based on the answers to the questions above but I think the end result will either be us helping you to code this up yourself, or recommending hiring someone to do the job (because that's what it is, really) for you.
hey thanks for the response.

as far as my knowledge of coding i know how to code html and very little javascript.

the as far as the code. i jus wanna know how to understand its meaning. so this way I can either change it my self or have some kind of help with it.

i want to use the code for my self so i can offer my users more ways to promote their profile as much as they can.

i under stand some of the code like the tabs and form, but im way lost when it comes to the javascript im in a black hole with that one.
angelking is offline  
Reply With Quote
Old 06-28-2009, 10:00 PM   #7 (permalink)
The Addict
 
Join Date: May 2009
Posts: 287
Thanks: 5
adamdecaf is on a distinguished road
Default

If your just trying to learn, post some sample code and someone (me) can give you a brief tutorial on it.
__________________
My Site
adamdecaf is offline  
Reply With Quote
Old 06-28-2009, 10:14 PM   #8 (permalink)
The Wanderer
 
Join Date: Jun 2009
Posts: 5
Thanks: 0
angelking is on a distinguished road
Default

ok kool..

well heres what ive come over so far...
HTML Code:
<table border="0" cellpadding="5" cellspacing="0" class="left">
							<tr>
								<td align="right" valign="middle" class="90">GamerTag:</td>
								<td><input type="text" id="GTag" class="textbox" onfocus="this.value=''" onblur="if (this.value == '') this.value = 'Enter GamerTag...';" onkeypress="catchEnter(event.which)" value="Enter GamerTag..." /></td>
							</tr>
ok now the id value im kinda familiar with but only if its used with a style sheet for identifying colors and etc...
HTML Code:
type="text" id="GTag" class
now i dont see anything above or below the code that its depending on for any function.
angelking is offline  
Reply With Quote
Old 06-28-2009, 10:18 PM   #9 (permalink)
The Wanderer
 
Join Date: Jun 2009
Posts: 5
Thanks: 0
angelking is on a distinguished road
Default

actuallly give me a few minutes i just came across something
angelking is offline  
Reply With Quote
Old 07-14-2009, 05:49 AM   #10 (permalink)
The Contributor
 
Join Date: Jun 2009
Location: Seattle, WA
Posts: 76
Thanks: 1
rguy84 is on a distinguished road
Default

Quote:
Originally Posted by angelking View Post
ok kool..

well heres what ive come over so far...
HTML Code:
<table border="0" cellpadding="5" cellspacing="0" class="left">
							<tr>
								<td align="right" valign="middle" class="90">GamerTag:</td>
								<td><input type="text" id="GTag" class="textbox" onfocus="this.value=''" onblur="if (this.value == '') this.value = 'Enter GamerTag...';" onkeypress="catchEnter(event.which)" value="Enter GamerTag..." /></td>
							</tr>
I don't understand why you pasted that code here, not to be rude, it seems as though you have no idea what you are doing and want to make your site work like that other guys'...
__________________
Ryan | Blog | Twitter
Send a message via AIM to rguy84 Send a message via MSN to rguy84 Send a message via Yahoo to rguy84 Send a message via Skype™ to rguy84
rguy84 is offline  
Reply With Quote
Old 07-14-2009, 07:23 PM   #11 (permalink)
The Addict
 
Join Date: May 2009
Posts: 287
Thanks: 5
adamdecaf is on a distinguished road
Default

Code:
type="text" id="GTag"
The type="" attribute is used to define how the element is to be used.
The id="" attribute is used as a CSS, and/or JavaScript identifier. It allows either language to specify events or design to any element assigned with a similar ID.
__________________
My Site
adamdecaf is offline  
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Prettifying Pasted Code on TalkPHP Wildhoney The Lounge 15 01-04-2013 02:46 AM
Tips to Improve Your Coding and Projects Village Idiot Tips & Tricks 45 12-03-2012 07:46 AM
Writing Clean Code Village Idiot Tips & Tricks 10 06-25-2012 12:35 PM
How do you write your code? Runar The Lounge 24 06-15-2009 08:33 AM
Game: Let's Develop Something Crazy! Wildhoney The Lounge 25 05-23-2009 09:18 PM


All times are GMT. The time now is 06:09 PM.

 
     

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Inactive Reminders By Icora Web Design