BuffaloHELP
Apr 30 2006, 12:29 PM
I'd like to request the following "behavior" in PHP if at all possible. I have a content that shows QUOTE Mary had a little lamb and it was white as snow. Click here to see more(link) And when the "link" is clicked I would like to see the full view. QUOTE Mary had a little lamb and it was white as snow.
The quick brown fox jummped over the lazy dog. Click here to see less(link) This time the "link" will shrink and show only the short view. I made style.css class HIDDEN where <div class="hidden"> in the page does not show, but still part of a file. The reason for this is that I'm hoping I don't have to make multiple files to show more or less. The objective for my request for PHP script is to have one single file with PHP code that can show or hide a content that is triggered by clicking a link, i.e. index.php?view=hide or unhide. I would appreciate any suggestions without using SQL database. Essentially, I'd like to mimic CuteNews short or full view.
Reply
Tyssen
Apr 30 2006, 12:33 PM
Are you talking about this happening without the page reloading? If so, you want to look into AJAX, not PHP.
Reply
jlhaslip
Apr 30 2006, 04:57 PM
An approach which might work is found here. Use tooltips as a hidden span to conceal the full text, then on mouseover, have the full text displayed as a tooltip. When a mouseout occurs, the text hides itself. Might work??? No page refresh is required, either. QUOTE Mary had a litle Lamb, its fleece was white as snow, And everywhere that Mary went, the Lamb was sure to go.
Get the quote right. Alternately, read the first line of a file for initial display, onclick, read additional information from the file and display. Reverse the process to shrink the displayed info. As Tyssen points out, though, the page refresh would need to occur each time the click happens.
Reply
Similar Topics
Keywords : request, script, short, full, view, sql, partial, hidden, content, clicked, view
- [request] Runescape Theme Web Template
(2)
[req & Suggest] -[news Link]-
Suggestion and Request. :) (2) Hey guys! I coded a little script exclusively for Trap17 (Open Discussion) Forum. Script Name
: News Link Description of Script : This "News Link" script puts a header in the top middle of the
board under " " and above " ". Screenshots : In attachment Script code : CODE <br>
<script type="text/javascript" src="jscripts/ipb_forum.js"></script>
<table cellspacing="0" class="newslink"> <tr>
<td><td align="center"><b><font color="#FF000....
Can Someone Please Deny My Request
Someone Siad It was Bugged But They Didn't deny it (1) Can Someone please deny my free web account request. Kubi (Modder) Said It Was Bugged But they just
closed the topic and didn'y deny me. I Wouldn't Have a problem except for the fact that
when I try to send a new request it errors and says that i still have a request and it say's to
wait till it's approved or denied. Any Modder please help! Thanks Shadow_x21 My name
looks like Shadow x21 though ....
Need Help With Javascript Drag And Drop Script
Having trouble with javascript drag and drop script. (2) hi, i have been trying to create a drag and drop menu for my new website, so that the navigation
menu can be moved around the site. This is the code i have: CODE <html> <head>
<title>Test run - Right click menu</title> <script
type="text/javascript"> function coordinates(event) { if
(event.button==2) { var x=event.x; var y=event.y; }
document.getElementById("element").style.left=x;
document.getElementById("element").style.top=y;
document.getElementById("eleme....
Free Web Hosting Account Request [approved]
(1) Display Username: actuarymath Email Address: tetsunozushi@hotmail.com My request is for: HOSTING
PACKAGE 2 Your Registered Domain Name or Desired Trap17 Subdomain Name actuary.trap17.com Introduce
Yourself: Your hobbies, interests, talents, etc. Let the forum know you better. I am
interested in math. Desired Hosting Account Username: 8 characters maximum. actuary
Country Where You Live Japan Theme Of Your Website Actuary Exam Labo How
Did You Find Trap17? google serch Who Was Your Previous Host ....
Java Script To Hide The Url In Address Bar
Does any one know about this ? (6) Hello friends , just now i came accross a particular type of script which is capable of masking the
URL which is seen in the Address bar of the webpage , that is by implementing the particular Java
Script when the user visits a page eg. www.mysite.com , then it is possible for the admin of
www.mysite.com to mask this site and display some other website in the viewers address bar. I came
to know that such a script can be written using Java Scripts , Can any one get me the Script ??....
Free Web Hosting Request [denied]
(1) PRESENT CREDITS : Forum Username : daftpunk Display Username: daftpunk Email Address:
andykid7@gmail.com My request is for: HOSTING PACKAGE 1 Your Registered Domain Name or Desired
Trap17 Subdomain Name chucknorris.trap17.com (if no then norrisfacts.trap17.com) Introduce Yourself:
Your hobbies, interests, talents, etc. Let the forum know you better. • I'm daftpunk i
play xbox live and use ptc to earn money on internet hehe /smile.gif" style="vertical-align:middle"
emoid=":)" border="0" alt="smile.gif" /> Desired Hosting Account Username: 8 characters maxim....
[request] Avatar For Trap17 Users
Nice one... for my avatar rotator script (0) As per the description above, I would like to challenge the GFX people here on the Trap17 to design
a nice, bright, clear, professional looking 'avatar' for me and other members to use. I
plan on including it in my Rotator Script, which I think can be found in the Tutorial Section here
on the Trap17. (If not, I must write that one soon). /laugh.gif" style="vertical-align:middle"
emoid=":lol:" border="0" alt="laugh.gif" /> I'm thinking that we need to open this up as a
Competition so all Members can contribute and then the Admins can start a new section in ....
Changing Isps
A unique view into the lives of Statesmen and RadioChick (7) Here in New Zealand, our Internet access is stifled, nay, strangled by the ex-State Owned monopoly
company Telecom, which with deregulation in the early 1980's was split off from the New Zealand
Post Office (a government department), and became one of the first fully privatized telcos in the
world by 1990. And yet, this monolithic corporation that sends most of its profits off-shore these
days, still for the longest time (until 2006 officially) maintained control over the telephone
infrastructure of New Zealand, including that all important "local loop", the cable fr....
Free Hosting Application Help
re-set permisions request (1) Hey Admin, I have applied for free hosting a while ago and got denied because of lack of quality
posts. Now I have done my best to improve my posting quality and decided to re-apply for free
hosting. When I did it said : QUOTE The error returned was: Our records indicate that you have
already submitted an application. Please wait until that application is approved or denied before
submitting another one. I sent a PM to the moderator that denied my application (jlhaslip) and
I have been told to start this thread to ask the admin to re-set my permisions. T....
17 At War
full song (0) Its a new day, the sun rising, lives lost nobody seems to care anymore all our cries for help are
ignored fighting our demons, the whole neighbourhood at war children dying, fathers dying, mothers
dying, so I ask why do we still keep on trying? life is impossible to live its a struggle just to
survive im out here fighting for my life fighting for my loved ones my independence the right to
live in peace and hoping my mother won’t live to see the day I pass we all God’s creation, earth’s
population brothers and sisters yet we don’t care for each other we fight the weak an....
Sig Request
by hotchick2121 (2) ok, i dunno if anyone on here has ever heard about twilight the book series and soon released movie,
so imma just ask for a dark angel/vampire sig, Size: 400x100 Theme: Grunge Render:
http://planetrenders.net/renders/displayimage.php?pos=-2307 or gr ok, i spent 30 mins looking for a
decent vamppire render that i like. gr, i just want a flipping hott vamp girl with some blood but i
cant find it!!! grr... Render Theme: vampires/dark angels Color: mainly black with red
Text: Yes? "Betting on Alice" or "Twilight" Other effects: blood lines and drops or a ....
G'day People
short into about my self.... (6) Hey everyone, My names Jesse and I live in Australia. I make webpages as a hobby. I was searching
through the internet when I found trap17. I have not seen any other FREE hosting service that could
offer so much! Great to be here and I look forward to getting to know you all! Jesse....
Cms/upload Best Practice?
New to using content management, seeking advice. (12) Other than my aborted attempt at setting up a site on my previous free web host, this will be the
first time that I have set up a dynamic website with an SQL back end. I came from the Internet
stone-age of static sites with lots of graphics and text, but little or no interactivity. I would
really appreciate some advice on how best to do this. I have selected the free Content Management
System called Lanius CMS , which is made by the makers of the more well-known package called Drake
CMS. Also, at the advice of many of the denizens of the Trap17 forums, I have downloade....
Woot This Free Hosting Rocks I Telling All My Friends =]
WOOT EVERYONE MUST REQUEST ALL THEIR FREINDS TO THIS IT ROCKS!! (9) /tongue.gif" style="vertical-align:middle" emoid=":P" border="0" alt="tongue.gif" /> This free
hosting rocks. I;m making a maplestory server and need a rego page and this rocks. IT HELPS SO
MUCH!!!! /cool.gif" style="vertical-align:middle" emoid="B)" border="0"
alt="cool.gif" /> Thank you Trap17....
Ur View On Cheaters
Whats your view on cheaters? (11) Whats your opinion about cheaters? I, myself, often use cheats on games. I also use multihacks on
multiplayer games, but I only use cheats vs. other cheaters, so it stays fair.. Im currently an
active cheater in Wolfenstein - Enemy Territory. I only play in servers where an aimbot is allowed
and i respect noncheaters (I used to play noncheat myself aswell). So, whats your view on cheaters?
Do they suck, or do you respect them as long as they stay on their own territory? ~ Greetings,
Accure....
Folder View In Kde 4.1
(4) Even though there was a lot of negative criticism over the new KDE, but over the last time there are
mostly positive critics and they encouraged me to try this DE (some of them even told me that KDE4
is better than MS Vista's and even OSX's one!). For those which don't know what is
KDE and what should they expect from it, here is the official link from the devs. :
http://www.kde.org/announcements/4.1/ With the comming of KDE 4 lots of things changed and lots
of new things were added in it, but I'll keep on one productive thing in here, and its cal....
Sig Request
By Kagome Higurashi (2) Size: 400x100 350x150 Theme: Kagome Render:
http://bp2.blogger.com/_smtV3_BlyV0/R_TezM...0/kagome170.jpg Render Theme: Kagome Higurashi from
the Anime 'Inuyasha' Color: Red&Blue Text: Yes Say 'Kagome Higurashi' on the
Middle,Bottom in Medium sized letters Other effects: fancy red background and text in dark red, and
put Kagome Higurashi in fancy letters. Thank You!....
[request] Gimp Tutorial For Watermarking Pictures
can someone explain the method I need to use to do that? (4) I am not "inclined" towards Graphics or Image manipulation, and I do have the GIMP Image Software.
I have about 50 Images to watermark, so if someone could take the time to explain how to do that
using the GIMP, it would be greatly appreciated. Thanks a bunch.....
Starcraft
What's you view? (14) Starcraft, some people hate it, some people love it, some people don’t give a damn. But I’m just
wondering, what’s your opinion about this game? What do you think has led this game to become so
big, why do you keep playing it? What keeps you hooked onto this game, I probably won’t get a
straightforward answer, but lately I’ve been thinking a lot about this and I want to see what you
think. In my opinion, Starcraft is an amazing game, it's an old game, but it's a classic.
People in Korea have like an entire channel dedicated to this game and hold tournaments, (T....
Content Management System (cms)
What CMS to choose... (13) I just looked at my remaing credits and it was only 1, so i remembered what I needed to find out. I
need a CMS for my website! I have tried lots of CMS(s) and have had very little luck. I would
like to know some CMS(s) that you would reccommend me to use. Some I have tried: CT2 CMS 2.0 beta
Joomla EazyPortal and some others, I can't remember It needs the following: Themes avaliable
Able to be hosted here Business Looking (ie; very formal) No Ad(s) Free for non-commercial use Forum
Registration for members Administrator Please post some CMs(s) names in t....
Very Simple Online Now Script
This is a very simple online now script. (4) Hi all, Its Aldo. anyways, I wont be using the method of pagination, i will just tell you how to
make a basic online now script. When someone logs in, now take into consideration that the name of
the username input is username ( First ,create a table in your database saying online now and add 2
fields to it. id and username CODE id type=integer(INT) , auto increment, length =255
and username = VARCHAR length=the limit a username should be in your site now from there we take
off : CODE <?php //logged.php //authentication script //connection scri....
Jsp Or Java Chat Script Like Mig33
(5) so most of you guys know mig33. its a wap application,probaly java.most kindly to be java. does
anyone have java knowlege or knows where i can get a chat script like mig33? i also know this server
supports jsp so im planing to use it for my application. i was hosted here last year but moved
because i found a better host. now im back just to use the jsp on this server. Im planing to run
chat applictions so if any one wants to help me in my project let me know.....
Blog Money
Discover the hidden money potential of your Blog (14) Hi Friends, Here is a dedicated site for online money making http://magicomedy.blogspot.com/
Please vivit and coment sherif www.sherifmayika.com....
Trap17 Link Exchange Script Introduced
(28) Hi, We have introduced a link Exchange Script at Trap17. http://www.addlivelinks.com/ The
categories are yet to be setup. It will be done as we receive link requests. Thanks. -OpaQue....
Downloading Content Using Rapidshare!
illegal or not? (12) Hi. I recently visited a friend of mine, who's older brother downloads pornographic movies on
his computer. He told me he visits sites that use rapidshare, and he downloads his movies that way.
I think it may be illegal since that website has links to download lots of movies, but I'm not
sure. It just seems that it may be illegal, because when was the last time you could download so
many full movies for free? I'm sorry if I did something against these forum rules, but my
brother-in-law said i could use this site to seek help. I really care for my friend a lot....
Guestbook (cgi-script) Problems
Do u know much bout chmod and cgi-cripts? (5) Hi! I'd like to make a guestbook with a cgi-script I found at Lissa Explains it All .
There were instruction bout how to install this gbook: click here QUOTE Active Guestbook
Unzip the file, you'll find 4 separate files: guestbook.cgi mail.gif url.gif readme.txt 1.
Open guestbook.cgi in a plain text editor like notepad. Find out your path to perl from your Web
host, and change the first line to reflect that. The default setting, #!/usr/bin/perl, usually
works for most servers. If not, you can try #!/usr/local/bin/perl. Save your changes. ....
[help] Java Script: Window.open
Works with Firefox, not IE (10) CODE <HEAD> var popUpWin=0; function popUpWindow(URLStr) {
if(popUpWin) { if(!popUpWin.closed) popUpWin.close(); }
popUpWin = open(URLStr, 'GunBound Tactics: Screenshots',
'width=820,height=550,menubar=no,resizable=yes,scrollbars=yes,toolbar=no,top=90,left=90')
;; } </HEAD> <BODY> <a
href="javascript:popUpWindow('/f11/clipped.php');"><b>Clips&
#60;/b></a> This is a script for opening a new window. It works ....
Many Php Script Sites
(16) Hi I find many sites has PHP scripts :: http://www.proxy2.de/scripts.php http://www.free-php.net
http://knubbe.t35.com/ http://www.ngcoders.com/ http://www.oxyscripts.com/
http://www.phparena.net/ http://www.1phpstreet.com/ http://px.sklar.com/
http://www.scoznet.com/ http://php.resourceindex.com/ /blink.gif' border='0'
style='vertical-align:middle' alt='blink.gif' /> ....
Free Windowsxp Sp2 Cd From Microsoft
just fill the request form and recive it (13) microsoft offer 100% free windows xp sp2. just go to this link
http://www.microsoft.com/windowsxp/downloa...us/default.mspx and fill your address they will send
you the cd to you. I just recive the cd yesterday. /biggrin.gif' border='0'
style='vertical-align:middle' alt='biggrin.gif' /> I see new feature like directx 9c , WMP9 ,
firewall , and the one I like is popup blocker! /wink.gif' border='0'
style='vertical-align:middle' alt='wink.gif' /> PS. waiting for the cd about 1-2 week if you
write an exact address.....
Looking for request, script, short, full, view, sql, partial, hidden, content, clicked, view
|
*RANDOM STUFF*
*SIMILAR VIDEOS*
Searching Video's for request, script, short, full, view, sql, partial, hidden, content, clicked, view
*MORE FROM TRAP17.COM*
|
advertisement
|
|