HomeHome  SearchSearch  Rules & Guidelines  Staff List  MemberlistMemberlist  RegisterRegister  Log inLog in  
Announcements

July 3rd, 2017: Canvas Tutorials is currently undergoing a major revamp. Please excuse any hiccups or glitches.


Coming soon


Coming soon

About Us

Canvas creates and supports an IMVU education environment. We offer tutorials and assistance from some of the community's most active and knowledgeable. Tutorials by users, for users!

Staff
Staff Updates
Important Links
Statistics
We have 1420 registered users
The newest registered user is ohsweet

Our users have posted a total of 2591 messages in 157 subjects
Canvas Time
Share | 
 

 I have no idea where to post this (sorry)

View previous topic View next topic Go down 
gutz

avatar
View user profile
Role : Lurker
Location : Venus

PostSubject: I have no idea where to post this (sorry) Sun Mar 19, 2017 9:13 am

But I have recently tried getting into coding, and I've followed tutorials and been sitting down for hours upon end trying to make my code work... But it just doesn't. Can anyone help? ; - ;

codein here:
 

__________________________________
 
Back to top Go down
Valoish

avatar
View user profile
Role : Designer & Coder
Location : New York City
http://kyaimvu.deviantart.com

PostSubject: Re: I have no idea where to post this (sorry) Sun Mar 19, 2017 10:07 am

@nhari; I've moved the topic to the correct sub-forum c:
What exactly isn't working in the code?

__________________________________
CanvasTutorials
ADMIN


Technician | Theft Council | Forum Design
"Love Truth and Pardon Error."

Back to top Go down
gutz

avatar
View user profile
Role : Lurker
Location : Venus

PostSubject: Re: I have no idea where to post this (sorry) Sun Mar 19, 2017 10:14 am

@Valoish wrote:
@nhari; I've moved the topic to the correct sub-forum c:
What exactly isn't working in the code?

tysm for moving it for me ; v ; like the text and youtube video doesn't show up in the boxes, and when I press the buttons it just opens to a new tab o: like to the filedrive things

__________________________________
 
Back to top Go down
Valoish

avatar
View user profile
Role : Designer & Coder
Location : New York City
http://kyaimvu.deviantart.com

PostSubject: Re: I have no idea where to post this (sorry) Sun Mar 19, 2017 10:33 am

@gutz; Okie gotcha~ Give me a few mins and I'll have a step by step correction guide for you ^^

__________________________________
CanvasTutorials
ADMIN


Technician | Theft Council | Forum Design
"Love Truth and Pardon Error."

Back to top Go down
gutz

avatar
View user profile
Role : Lurker
Location : Venus

PostSubject: Re: I have no idea where to post this (sorry) Sun Mar 19, 2017 10:37 am

tysm you're too kind! ; v ;

__________________________________
 
Back to top Go down
Valoish

avatar
View user profile
Role : Designer & Coder
Location : New York City
http://kyaimvu.deviantart.com

PostSubject: Re: I have no idea where to post this (sorry) Sun Mar 19, 2017 10:46 am

To make sure the post isn't huge, I've put the coding in Spoilers. Please click on each to see the original version vs the fixed version c:


First thing first, you have tons of extra div boxes that you don't need:
Step 1 - Original:
 
You don't need to have a separate div box for every button - that's only done for Dynamic Divs. The nice thing about iFrames is that you only need div boxes for the pages you want to display at all times (Home, Updates, Youtube, Avi are the standard ones). The pages that will be displayed only when a button is clicked do not need a separate box of their own - that's what the Image Map is there for c:
Step 1 - Fixed:
 

The reason your buttons open in a new window and not in the Main div box is because you've accidentally removed a quotation mark from the "target=" attribute of the links:
Step 2 - Original:
 

All you have to do it change the text from =inlineframe" to ="inlineframe"

Step 2 - Fixed:
 

As for the text and youtube box not showing up, all you have to do is to give the iframe the width and height that you gave the corresponding div box:
Step 3 - Original:
 

So it'll look like this:
Step 3 - Fixed:
 

I've also removed the name="inlineframe" from the Youtube iframe link, since that is the name of your main box. If you have 2 div boxes with the same iframe name, the buttons will open in the box that is presented first in the coding (In this case its the main box). So to prevent the buttons from accidentally opening the pages in the youtube box, it's best to either remove the iframe name from that box entirely, or change it to a different name other than "inlineframe".

__________________________________
CanvasTutorials
ADMIN


Technician | Theft Council | Forum Design
"Love Truth and Pardon Error."

Back to top Go down
gutz

avatar
View user profile
Role : Lurker
Location : Venus

PostSubject: Re: I have no idea where to post this (sorry) Sun Mar 19, 2017 12:06 pm

this is so helpfull! thanks heaps! :3

__________________________________
 
Back to top Go down
 
I have no idea where to post this (sorry)
View previous topic View next topic Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
 :: HBAD REALM :: HBAD • Coding :: HBAD • Coding Repair-
Jump to: