Web Layout
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsWeb DesignWeb Layout

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old March 24th, 2006, 10:28 AM
credence64 credence64 is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Mar 2006
Posts: 2 credence64 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 18 m 24 sec
Reputation Power: 0
Frontpage

I am VERY new to Frontpage. I am trying to hyperlink a question to answer, but I do not want to create a new page that the question links to. I simply want the answer to the question to fade in/ zoom in when the question is clicked. If possible, how is this done?

Reply With Quote
  #2  
Old March 24th, 2006, 03:18 PM
blicci's Avatar
blicci blicci is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Apr 2004
Location: Philly
Posts: 351 blicci User rank is Sergeant Major (2000 - 5000 Reputation Level)blicci User rank is Sergeant Major (2000 - 5000 Reputation Level)blicci User rank is Sergeant Major (2000 - 5000 Reputation Level)blicci User rank is Sergeant Major (2000 - 5000 Reputation Level)blicci User rank is Sergeant Major (2000 - 5000 Reputation Level)blicci User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 3 Days 22 h 8 m 5 sec
Reputation Power: 52
Here is a real simple way. It doesn't fade or fly in but you can use similar techniques to do what you want through CSS
This one just changes the visibility of a div element
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
	<head>
		<title></title>
		<meta name="GENERATOR" content="Microsoft Visual Studio .NET 7.1">
		<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
	<script language=javascript>
		function ShowAnswerVisibilitySample(element){
		document.getElementById(element).style.visibility=  'visible';
		}




		
	</script>
	</head>
	<body>
		<div style="COLOR: blue; TEXT-DECORATION: underline" onclick="ShowAnswerVisibilitySample('answer1');">
			What Color is the Sky?</div>
		<div id="answer1" style="VISIBILITY: hidden; COLOR: white; BACKGROUND-COLOR: blue">Blue</div>
		>
	</body>
</html>

Reply With Quote
  #3  
Old March 24th, 2006, 03:48 PM
credence64 credence64 is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Mar 2006
Posts: 2 credence64 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 18 m 24 sec
Reputation Power: 0
Frontpage

You lost me when you began with HTML formatting. Do I have to be in HTML to do this or...for the less gifted such as I, is there a more simpler way?

Reply With Quote
  #4  
Old March 25th, 2006, 08:59 AM
blicci's Avatar
blicci blicci is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Apr 2004
Location: Philly
Posts: 351 blicci User rank is Sergeant Major (2000 - 5000 Reputation Level)blicci User rank is Sergeant Major (2000 - 5000 Reputation Level)blicci User rank is Sergeant Major (2000 - 5000 Reputation Level)blicci User rank is Sergeant Major (2000 - 5000 Reputation Level)blicci User rank is Sergeant Major (2000 - 5000 Reputation Level)blicci User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 3 Days 22 h 8 m 5 sec
Reputation Power: 52
I am afraid you will have to do it using script and css and html. I don't use frontpage but i don't beleive there is a wizard or anything that writes the code for you.
If you really want to learn HTML then I suggest you don't use frontpage. Use notepad or some other text editor. It can be hard at first but you will get a better understanding of how a web page is created and displayed at runtime when viewed through a browser.

As for the example I gave. you will notice the script block
Code:
<script language=javascript>
		function ShowAnswerVisibilitySample(element){
		document.getElementById(element).style.visibility=    'visible';
		}

 </script>

You can copy and paste this into the head section of your html page. Every web page has a head section. You can see it in frontpage buy selecting the html tab.


Notice the two div elements that are inside the body section, every web page has a body section this is where all the text and images and other controls go. Think of a div as a container that you can put things like text and buttons and other controls. they are perfect for formatting text and layout of your web page. You can copy and paste this into the body section
Code:
   <div style="COLOR: blue; TEXT-DECORATION: underline" onclick="ShowAnswerVisibilitySample('answer1');">
			What Color is the Sky?</div>
		<div id="answer1" style="VISIBILITY: hidden; COLOR: white; BACKGROUND-COLOR: blue">Blue</div>
Comments on this post
shamrog12 agrees: don't use frontpage. It's the real "f" word.

Reply With Quote
Reply

Viewing: ASP Free ForumsWeb DesignWeb Layout > Frontpage


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway