Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
cosc320-une
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Joshua Barlin
cosc320-une
Commits
84abc323
Verified
Commit
84abc323
authored
6 years ago
by
Joshua Barlin
Browse files
Options
Downloads
Patches
Plain Diff
Add so that it is a switch between casual (2) and continuing (3)
parent
b6a304e2
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
js/prototype3.js
+4
-0
4 additions, 0 deletions
js/prototype3.js
prototype2.html
+54
-54
54 additions, 54 deletions
prototype2.html
prototype3.html
+4
-5
4 additions, 5 deletions
prototype3.html
with
62 additions
and
59 deletions
js/prototype3.js
+
4
−
0
View file @
84abc323
...
...
@@ -156,6 +156,7 @@ function copyToClipboard(str) {
}
$
(
document
).
ready
(
function
()
{
/*
$('#sectionbutton').click(function () {
switch ($('#sectiondropdown').val()) {
...
...
@@ -169,6 +170,9 @@ $(document).ready(function () {
break;
}
});
*/
$
(
"
#continuing
"
).
show
();
$
(
"
#casual
"
).
hide
();
$
(
'
#posntype-dr1
'
).
on
(
'
change
'
,
function
()
{
if
(
$
(
this
).
val
()
==
'
contract
'
)
{
$
(
'
#posntype-dr4
'
).
attr
(
'
disabled
'
,
false
);
...
...
This diff is collapsed.
Click to expand it.
prototype2.html
+
54
−
54
View file @
84abc323
...
...
@@ -31,7 +31,7 @@
<body>
<h1>
eRecruitment Advertisement Designer Prototype 2
</h1>
<a
href=
"prototype3.html"
>
Prototype 3
</a>
<a
href=
"prototype3.html"
>
Continuing Editor (
Prototype 3
)
</a>
<div
id=
"wrapper"
>
<div
id=
"input-div"
>
<h2
id=
"input-header"
>
Input
</h2>
...
...
This diff is collapsed.
Click to expand it.
prototype3.html
+
4
−
5
View file @
84abc323
...
...
@@ -32,15 +32,15 @@
<body>
<h1>
eRecruitment Advertisement Designer Prototype 3
</h1>
<a
href=
"prototype2.html"
>
Prototype 2
</a>
<a
href=
"prototype2.html"
>
Casual Editor (
Prototype 2
)
</a>
<div
id=
"wrapper"
>
<div
id=
"input-div"
>
<h2
id=
"input-header"
>
Input
</h2>
<select
id=
"sectiondropdown"
aria-label=
"Advert type"
name=
"sectiondropdown"
>
<!--
<select id="sectiondropdown" aria-label="Advert type" name="sectiondropdown">
<option>Please select</option>
<option value="continuing">Continuing position</option>
<option value="casual">Casual position</option>
</select>
<button
name=
"sectionbutton"
id=
"sectionbutton"
>
Select
</button>
</select> <button name="sectionbutton" id="sectionbutton">Select</button>
-->
<!-- start continuing -->
<form
autocomplete=
"off"
id=
"continuing"
class=
"display-none"
>
...
...
@@ -321,5 +321,4 @@
</body>
</html>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment