forked from alaashafaee/Coolsoft-14
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
39 changed files
with
692 additions
and
306 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# [Design - Story Design] | ||
# Checks if an element exists in the document | ||
# Parameters: | ||
# element_id: The id of the element to be checked | ||
# Returns: True if the element exist and false if not | ||
# Author: Mussab ElDash | ||
@element_exists = (element_id) -> | ||
$("##{element_id}").length > 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
//[View hints and tips-story 4.22] | ||
//Toggle to view previous hints. | ||
//Parameters: | ||
// id: Element that will be toggled. | ||
//Returns: none. | ||
//Author: Nadine Adel | ||
function toggle_visibility(id) { | ||
var element = document.getElementById(id); | ||
if(element.style.display == 'block') | ||
element.style.display = 'none'; | ||
else | ||
element.style.display = 'block'; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
//[View hints and tips-story 4.22] | ||
//Toggle to view previous tips | ||
//Parameters: | ||
// id: Element that will be toggled. | ||
//Returns: none. | ||
//Author: Nadine Adel | ||
function toggle_visibility(id) { | ||
var element = document.getElementById(id); | ||
if(element.style.display == 'block') | ||
element.style.display = 'none'; | ||
else | ||
element.style.display = 'block'; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
.hidden { | ||
display: none; | ||
} | ||
|
||
a.Lst { | ||
font-size: 30px; | ||
line-height: 0px; | ||
padding-left: 0px; | ||
font-weight: normal; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
// Place all the styles related to the Hints controller here. | ||
// They will automatically be included in application.css. | ||
// You can use Sass (SCSS) here: http://sass-lang.com/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
a.Lst { | ||
font-size: 30px; | ||
line-height: 0px; | ||
padding-left: 0px; | ||
font-weight: normal; | ||
} |
Oops, something went wrong.